Skip to content

Null padded representation? #32

Description

@oxinabox

cf #29
Rather than sorting the size at all we could store the string in null-padded form.
This would let us use up to the full width of the backing primative for content.

Then to determine the ncodeunits we would count backwards from the end how meany consecutive bytes were not 0x00
and subtract that from the size of the backing primative

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions