• 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: Faking large arrays in bindings to satisfy sparse data...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Faking large arrays in bindings to satisfy sparse data...


  • Subject: Re: Faking large arrays in bindings to satisfy sparse data...
  • From: Marco Scheurer <email@hidden>
  • Date: Sun, 20 Mar 2005 10:57:01 +0100


On Mar 20, 2005, at 03:01, アンドレ(Andre) wrote:

Hi,

I'm currently working on a project that uses bindings for structured data that may get very large.
In order to deal with this I have devised a class that encapsulates a sparse array. [...]


I thought about an NSDictionary, but this has speed disadvantages as each key must be compared in unicode
when all I need is to compare numerals (positions in the sparse array)....

Not necessarily: you can use NSNumbers as keys in an NSDictionary.

Marco Scheurer
Sen:te, Lausanne, Switzerland   http://www.sente.ch

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Faking large arrays in bindings to satisfy sparse data...
      • From: j o a r <email@hidden>
References: 
 >Faking large arrays in bindings to satisfy sparse data... (From: アンドレ(Andre) <email@hidden>)

  • Prev by Date: Re: Faking large arrays in bindings to satisfy sparse data...
  • Next by Date: newbie EXC_BAD_ACCESS
  • Previous by thread: Re: Faking large arrays in bindings to satisfy sparse data...
  • Next by thread: Re: Faking large arrays in bindings to satisfy sparse data...
  • Index(es):
    • Date
    • Thread