• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: speed of alloc/init for NSNumber
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >speed of alloc/init for NSNumber (From: Chuck Soper <email@hidden>)
 >Re: speed of alloc/init for NSNumber (From: Nat! <email@hidden>)
 >Re: speed of alloc/init for NSNumber (From: Chuck Soper <email@hidden>)
 >Re: speed of alloc/init for NSNumber (From: Nat! <email@hidden>)

  • Prev by Date: Re: speed of alloc/init for NSNumber
  • Next by Date: Re: Which NSTextView?
  • Previous by thread: Re: speed of alloc/init for NSNumber
  • Next by thread: Re: speed of alloc/init for NSNumber
  • Index(es):
    • Date
    • Thread