[elephant-devel] String ordering

Ian Eslick eslick at csail.mit.edu
Thu Oct 25 20:58:30 UTC 2007


There was a bug in Trac claiming that radix was used first in  
comparing strings.  This is not happening globally but appears to  
happen locally mirroring the behavior of string< in lisp.  Here is  
the behavior, and what BDB and CL-SQL are doing currently.

"key-100" < "key-1000" < "key-101"

It searches for the first different character and orders on that.

BDB is currently case insensitive which does not match lisp, so I'm  
going to make all string comparisons case insensitive in 0.9.2 unless  
we need more discussion.

Ian



More information about the elephant-devel mailing list