> any ideas why? my intent was obvious: less bytes -> faster comparison -
>> faster sets ops
Hello, Redis has internal optimizations that let it understand that a
string can be actually represented by an integer. When it does this it
can do operations (especially comparisons) much faster, leading to
better results, and better memory usage figures.
Cheers,
Salvatore
--
Salvatore 'antirez' Sanfilippo
open source developer - VMware
http://invece.org
"We are what we repeatedly do. Excellence, therefore, is not an act,
but a habit." -- Aristotele