• 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: Simple Array
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple Array


  • Subject: Re: Simple Array
  • From: Ondra Cada <email@hidden>
  • Date: Thu, 20 Sep 2001 20:13:44 +0200

Nicolai,

>>>>>> Nicolai (N) wrote at Thu, 20 Sep 2001 19:04:30 +0200:
N> But when I'm using NSArray it might be a bit slower.
N> In my source I will implement it, where I have to
N> access the array maybe 100.000.000 times.
N> So it has to be fast.

Wow. Yeah, for such a heavy load do use plain C array.

N> Am I right? Why shouldn't I use calloc an free?

In normal situations (hundreds, thousands, tens of thousands of accesses)
the less efficiency does not matter, and the much better flexibility of
NSArray pays off.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc


  • Prev by Date: Re: Aqua Interface Guidelines & Close Window location ?
  • Next by Date: Re: [RANT] Unfair preferential treatment of Microsoft
  • Previous by thread: Re: Simple Array
  • Next by thread: How to mount an iDisk?
  • Index(es):
    • Date
    • Thread