4 ms·
Naieve reference counting incurs a bus lock across all processors on every assignment, more or less. That's quite painful.
by ori_b 15y ago
Naieve reference counting incurs a bus lock across all processors on every assignment, more or less. That's quite painful.
- gonzo 15y agoHow many processors (cores) do most iOS devices have? GC is still supported on MacOS X.
- cpeterso 15y agoOne core, but the Apple A5 in the iPad 2 and iPhone 4GS/5 (the flagship devices for iOS 5) has two cores.
- kstenerud 15y ago95% of code can run an order of magnitude slower than "optimal" with no discernable degradation of the user experience. If a bus lock degrades your performance too much, either change your algorithm, or isolate that section of code and do it in another language that doesn't suffer the same performance issues.