mattlawer/BButton — pull request #23 by elwerene (2013-08-27 11:39:29+00:00)
Title: Faster access to titleLabel

Using many BButton instances turned out to be very slow so I profiled a lot. The most time consumption was the access to self.titleLabel so I made a small function which returns the first and only subview of the button instead of self.titleLabel if there's only one subview.
The performance gain is huge if you are using > 10 BButton instances at the same time.