Patch now in SVN. Thanks! On Mon, 2006-03-06 at 22:00 -0600, Matthew Sayler wrote:
[snip] > Attached patch created copies of these functions (traverse_tree_keys_rev > etc) which prepends list items and then uses a g_list_reverse to sort > out the mess. It seems to work for me but I've given it minimal > testing. > > There are better ways of doing this, but for me this reduces the above > mailbox query from 272cpusec to 5.1cpusec, for a tidy 50x speedup. > > Matt