Re: Faking large arrays in bindings to satisfy sparse data...
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