mherger;384290 Wrote: 
> > - iPeng will now handle large databases much better.
> 
> Is this improvement based on the textkey change in SC?
> 
> -- 
> 
> Michael

No, not yet. That will be a further improvement but I moved that to 1.1
since the textkey change is not yet in a stable server version and I
don't want to rely on betas.
It will help a LOT thogh, since it will
a) improve sync times for large libraries, from ~1.000 albums on
actually the sorting is the dominant time consuming factor today.
b) iPhoneOS seems to need a lot of memory for sorting. I don't quite
understand, why that is since it's only pointer shuffling but I thing
they build sort trees for performance.

This change only does two things:
1. It improves memory management. The way the "normal" memory
management in iPhoneOS works, temporary variables are only freed up
after each return tu the run loop not when they get out of scope so
freeing up memory manually helps a lot (or using and releasing your own
autorelease pools).
2. The srolling issue was due to an indexing with the artwork (iPeng
looking up artwork in it's internal table). Not an issue witht a
simple, incremental search up to a few thousand albums but with really
large libraries is was not fas enough for seamless scrolling. So now
iPeng uses an index and a binary search. It's quite a difference
between an average search distance of n/2 and log(n) for 14.400
albums...


-- 
pippin

---
see iPeng at penguinlovesmusic.com
------------------------------------------------------------------------
pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=55514

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to