News for hackers. Stuff that matters.
Re:Secrets of dispatch_once; x86 performance trickery by eridius on Friday June 06, 2014 @11:51PM (#7861217)
That requires the ability to write to the executable page, which is definitely not allowed on iOS, and not necessarily allowed elsewhere either.

It also makes the assumption that a given call to `dispatch_once()` will only ever be called with the same predicate. If it selects among a set of predicates (or is given a predicate by whatever function called it), then NOPing it out would completely break the application.

There are no comments on this comment yet.