NickK ha scritto:
I've sampled the application running and it spends 100% of it's time within 
std::vector operations - iterator and copy. So I'm assuming it adds the event 
by iterating through the entire current set until it finds the correct 
timestamp location and then makes a gap my copying the data before inserting it.

It seems a little barking mad for Apple to use a linear search routine and I 
would suspect a hashed based dense key storage system would have been better? 
This would slow down with more additions!

Is this a known issue that others have experienced?
yes, I've noticed the same thing.

Luckily, I've never had to add that many events/notes, so I could bear to wait for some seconds.

--
Simone Tellini
http://www.tellini.org

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to