On 21/02/2014, at 9:24 AM, Alan Silverstein wrote: > > keys is fine, but if you want length-associated instead of > length-terminated keys, you pretty much have to sort first by length > (which is at least very cheap and fast using JudyL), even if you miss > out on sorted-by-accident as a "free" side-effect.
Not sure exactly what you mean, but you can always take an arbitrary N bytes of anything, including embedded 0 bytes, and translate it to a UTF-8 NULL terminated string. Then you can use JudySL just fine, and the proper sort order is preserved because that's a property of UTF-8 encoding. -- john skaller [email protected] http://felix-lang.org ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ Judy-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/judy-devel
