You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fkey can not work on the machine using little-endian. Although insert and search can work well on both machines with big-endian or little-endian, the range query can only report the correct results on machines with big-endian.
For example, if I want to scan(0x1, 0x100), on a little-endian machine, fkey[0] of key 0x1 equals to 1 while fkey[0] of key 0x100 equals to 0. Therefore, key_key_lt returns false.
To fix this bug, defining a MACRO to get the fkey from the key works.
The text was updated successfully, but these errors were encountered:
ROART/ART/Key.h
Line 25 in c313e0f
fkey
can not work on the machine using little-endian. Althoughinsert
andsearch
can work well on both machines with big-endian or little-endian, therange query
can only report the correct results on machines with big-endian.For example, if I want to scan(0x1, 0x100), on a little-endian machine,
fkey[0]
of key0x1
equals to 1 whilefkey[0]
of key0x100
equals to 0. Therefore,key_key_lt
returnsfalse
.To fix this bug, defining a MACRO to get the fkey from the key works.
The text was updated successfully, but these errors were encountered: