|
|
|
|
|
by logfromblammo
3212 days ago
|
|
Surely if you're storing numeric values as strings, it would be better to use something like base64 encoding to use as much of the available symbol space as possible? If you can sort a numeric string in base 10, you can sort one in base 16, or base 64, or base 256. |
|
However, the important bit (to me) is that you can use your database's sorting function to compare the numbers.
The advantage of base-10 is it's easy to display the number :) Others bases do provide a constant speed improvement of course.