Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-58554

Simple8b delta for short strings

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.0-rc0
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Execution Team 2021-08-23, Execution Team 2021-09-06

      Description

      If the string is of length 16 or below (not counting null terminator) the encoder will try to make the transformation into an integer that can be delta-stored in Simple-8b.

      The unsigned integer will be computed using reverse order of the string with the null terminator omitted. This means that the last character in the string will be represented as the least significant byte in the integer using little-endian byte order. No size is stored, which works as long as there are no leading NULL characters in the input string. 

       

        Attachments

          Activity

            People

            Assignee:
            henrik.edin Henrik Edin
            Reporter:
            henrik.edin Henrik Edin
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: