Re: Itunes structure
Re: Itunes structure
- Subject: Re: Itunes structure
- From: Allan Odgaard <email@hidden>
- Date: Mon, 5 Apr 2004 20:43:54 +0200
On 5. Apr 2004, at 19:01, Mathieu Godart wrote:
[...] load the full iTunes lib [...] by creating a NSDictionary from a
file [...] it's really fast [...] but just an NSArray + NSDictionnary
or just an NSDictionnary is fast enough.
Fast? I guess that depends on your machine and the size of the
database. Here it takes 5 seconds to load the xml version of my iTunes
library into an NSDictionary. That is less than 1.8 MB/s -- for
comparison, gzip is able to compress the entire xml file in less than 2
seconds.
** Cocoa FAQ: <
http://www.alastairs-place.net/cocoa/faq.txt> **
_______________________________________________
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.