orion-server
orion-server copied to clipboard
Improve encoding of Int64 in index keys
Address review comments from this PR: #194
mainly:
- introduce a single method
func EncodeInt64OrderPreserving(int64) string
- improve encoding of negative numbers to save space (var-int)
- rename
GetMetadataValue
as there is no metadata anymore - rename
NUMBER
toINT64
in IndexAttributeType