[KPhotoAlbum] Patch: Improve date-range counting in XML db
h.zeller at acm.org
Sun Jun 22 12:46:52 BST 2008
A little patch that allows a significant lookup speedup in
XMLImageDateCollection .. with less code. With it all kinds of
operations, esp. in the DateBarWidget (zoom) are much faster, esp.
with many images in the database (Jan, can you check with our 40k
photos ?). In my case it sped up an operation that took 8 seconds
(initial DateBarWidget or zoom in it) to now ~10ms ;-)
Replace linear search in XMLImageDateCollection with range index.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2373 bytes
Desc: not available
More information about the Kphotoalbum