Re: speed of alloc/init for NSNumber
Re: speed of alloc/init for NSNumber
- Subject: Re: speed of alloc/init for NSNumber
- From: Kyle Moffett <email@hidden>
- Date: Sun, 18 Jan 2004 17:46:24 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Jan 18, 2004, at 17:22, Nat! wrote:
Well to get a handle on how much time you are losing on allocation and
deallocation try code like this
[code snipped]
Takes 2 minutes to type and gives hard facts.
On my Dual-1GHz G4 this takes 1.5 seconds to run. Not unreasonable,
depending on the situation.
Cheers,
Kyle Moffett
- -----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCM/CS/IT/U d- s++: a16 C++++>$ UB/L/X/*++++(+)>$ P+++(++++)>$
L++++(+++) E W++(+) N+++(++) o? K? w--- O? M++ V? PS+() PE+(-) Y+
PGP? t+(+++) 5 X R? tv-(--) b++++(++) DI+ D+ G e->++++$ h!*()>++$ r
!y?(-)
- ------END GEEK CODE BLOCK------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFACwzAag7LSGnFq10RAmgtAJ9ZTj2FwKLS8F0Y2fd9178XEKTRYACg5ZrI
h7WF5O7TTZh4CTYDYJQI84A=
=RfeM
-----END PGP SIGNATURE-----
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.