On Mar 21, 2013, at 8:35 AM, Timothy Wood wrote: > On Mar 20, 2013, at 12:01 PM, Kyle Sluder <k...@ksluder.com> wrote: >> The reason it's limited to 19 bits is because for speed purposes >> NSParagraphStyle implements its own inline retain count rather than >> relying on NSObject's external refcount table. Which is also why you >> can't make ARC weak references to NSParagraphStyle instances. ;-) > > Yikes. Usually the inline bits are used for the *low order* bits of the > retain count. That is, the full retain count is something like (internal_refs > + (external_refs << internal_width).
Ahh. 19 seems like such an arbitrary number, but if it's _supposed_ to be extended then that'd make more sense. I'll be filing a radar today. Thanks everyone. -- Seth Willits _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com