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
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 mails | Author | Date |
|---|---|---|
| Ivan S. Kourtev | Apr 18, 22:43 | |
| Daniel Jalkut | Apr 19, 07:05 | |
| John Stiles | Apr 19, 17:45 | |
| j o a r | Apr 19, 18:19 | |
| Axel Andersson | Apr 19, 18:44 | |
| Ali Ozer | Apr 19, 18:46 | |
| Ondra Cada | Apr 19, 18:57 | |
| Ivan S. Kourtev | Apr 19, 20:30 | |
| Ondra Cada | Apr 19, 20:55 | |
| Shaun Wexler | Apr 19, 21:05 | |
| Shaun Wexler | Apr 19, 21:09 | |
| Scott Ribe | Apr 23, 00:25 | |
| Bob Ippolito | Apr 23, 00:40 | |
| Scott Ribe | Apr 23, 00:51 | |
| Bob Ippolito | Apr 23, 06:57 | |
| Johnny Deadman | Apr 23, 18:44 |






Cocoa mail archive

