Optimize selector building #81

Merged
merged 3 commits into from Mar 12, 2013

Projects

None yet

2 participants

@jspahrsummers
Member

+stringWithFormat: is expensive when it's hit repeatedly. This builds up C strings instead, preferring stack allocations whenever possible.

@joshaber joshaber was assigned Mar 12, 2013
@joshaber
Contributor

🆒

@joshaber joshaber merged commit 1f9bb9e into master Mar 12, 2013

1 check passed

default Build #316992 succeeded in 23s
Details
@joshaber joshaber deleted the faster-reflection branch Mar 12, 2013
@jspahrsummers
Member

@steipete This may help with some of the bottlenecks you've seen in the past.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment