orion-server icon indicating copy to clipboard operation
orion-server copied to clipboard

Improve encoding of Int64 in index keys

Open tock-ibm opened this issue 3 years ago • 0 comments

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 to INT64 in IndexAttributeType

tock-ibm avatar Oct 10 '21 12:10 tock-ibm