[Tickets #4638] Re: Sort speed of Turba_List
bugs@bugs.horde.org
bugs at bugs.horde.org
Wed Nov 8 14:52:26 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
Updated 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 |
-----------------------------------------------------------------------
thomas.jarosch at intra2net.com (2006-11-08 14:52) wrote:
> 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?
I've just seen there is array_multisort() which could do multi column
sorting.
According to the PHP manual it lacks SORT_LOCALE_STRING.
After googling I've found out support for the missing flag
was added 2006-08-01. So at least it would work in the future.
SORT_STRING could be an option for iso-8859-1 character encoding, right?
More information about the bugs
mailing list