Skip navigation.
 
mlRe: upper limit on retain count
FROM : j o a r
DATE : Tue Apr 19 18:19:54 2005

On 2005-04-18, at 22.43, Ivan S. Kourtev wrote:

> I wasn't able to find any documented upper limits on retain count on
> 32-bit machines (or in general).  I am interested in knowing this
> because I foresee a situation where I may have objects with retain
> counts of hundreds of millions of billions and more.


"hundreds of millions of billions"? How much is that?

If "hundreds of millions of billions" is 1e17 and if a retain operation
take 1 ns to complete, it would take over three (3) years to send all
those retain messages...

(if I didn't make any mistakes with the calculator - it's been known to
happen...)

I humbly propose that:
a) Your design is wrong, or
b) Cocoa+ObjC is not the right set of tools to solve your problem, or
c) some sort of combination of the above.

j o a r

Related mailsAuthorDate
mlupper limit on retain count Ivan S. Kourtev Apr 18, 22:43
mlRe: upper limit on retain count Daniel Jalkut Apr 19, 07:05
mlRe: upper limit on retain count John Stiles Apr 19, 17:45
mlRe: upper limit on retain count j o a r Apr 19, 18:19
mlRe: upper limit on retain count Axel Andersson Apr 19, 18:44
mlRe: upper limit on retain count Ali Ozer Apr 19, 18:46
mlRe: upper limit on retain count Ondra Cada Apr 19, 18:57
mlRe: upper limit on retain count Ivan S. Kourtev Apr 19, 20:30
mlRe: upper limit on retain count Ondra Cada Apr 19, 20:55
mlRe: upper limit on retain count Shaun Wexler Apr 19, 21:05
mlRe: upper limit on retain count Shaun Wexler Apr 19, 21:09
mlRe: upper limit on retain count Scott Ribe Apr 23, 00:25
mlRe: upper limit on retain count Bob Ippolito Apr 23, 00:40
mlRe: upper limit on retain count Scott Ribe Apr 23, 00:51
mlRe: upper limit on retain count Bob Ippolito Apr 23, 06:57
mlRe: upper limit on retain count Johnny Deadman Apr 23, 18:44