[Tickets #4638] Sort speed of Turba_List
bugs@bugs.horde.org
bugs at bugs.horde.org
Wed Nov 8 13:05:30 PST 2006
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=4638
-----------------------------------------------------------------------
Ticket | 4638
Created By | thomas.jarosch at intra2net.com
Summary | Sort speed of Turba_List
Queue | Turba
Version | 2.1.3
Type | Enhancement
State | New
Priority | 1. Low
Owners |
+New Attachment | turba-sort-speed.patch
-----------------------------------------------------------------------
thomas.jarosch at intra2net.com (2006-11-08 13:05) wrote:
Hello,
I'm currently optimizing Turba for 8.000+ contact addressbooks.
Sorting 8.000 contacts on a P4 3.0 Ghz currently takes more than ten
seconds.
After applying the sort optimize patch, the time goes down to 0.13s :-)
The patch is against Turba 2.1.3. I've seen the HEAD version of
turba/lib/List.php is modified to support multi column sorting. I guess
most sort operations are single column. Would it be a good idea to use the
optimized code for single column sorts and fall back to the slow usort()
code for multi column?
Cheers,
Thomas
More information about the bugs
mailing list