Open GoogleCodeExporter opened 9 years ago
can you pl provide some numbers on how much improvement you get and which
compiler you are using.
Original comment by dhr...@gmail.com
on 1 Mar 2013 at 6:02
Doesn't this also change the behaviour? It will order by length rather than
lexicographically, no?
Original comment by bionicbe...@gmail.com
on 1 Mar 2013 at 7:26
Yes, grouping keys by sizes and sorting lexicographically within each size gave
a big performance boost for our workflow. But I guess some workflows could be
hurt by that.
Original comment by SaveTheR...@gmail.com
on 2 Mar 2013 at 6:39
If one want to preserve lexicographical order you may pull following patch
instead - this removes one branch from resulting code and makes code smaller.
But I don't suppose that this one will be visible on any benchmarks.
Original comment by SaveTheR...@gmail.com
on 2 Mar 2013 at 7:01
Attachments:
Original issue reported on code.google.com by
SaveTheR...@gmail.com
on 1 Mar 2013 at 10:51