Skip to content

The releaseYear fields are not zig-zag encoded in memlayout-object.png #674

@clay-mayers

Description

@clay-mayers

As an example, Ordinal 0 shows 0b11111001111 (0x7cf/1999) when it should be 2x larger (0xf9e) 0b111110011110. Fixing requires making the field size for releaseYear and object size 1 bit larger (12 and 22). As is, the release year would be -999.

The bitmap is pressed for space as it is. Maybe all that's required is to adjust the text in advanced-topics.md to call out that the example doesn't show the releaseYear as zig-zag encoded.

The id also doesn't seem to be zig-zag encoded (assuming negative IDs were not intentional).

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