Re: Triggering an NSTextStorage Bug
Re: Triggering an NSTextStorage Bug
- Subject: Re: Triggering an NSTextStorage Bug
- From: Seth Willits <email@hidden>
- Date: Thu, 21 Mar 2013 16:14:18 -0700
On Mar 21, 2013, at 11:39 AM, Seth Willits 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.
#13478399
If any employees are watching.
--
Seth Willits
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden