hollow icon indicating copy to clipboard operation
hollow copied to clipboard

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

Open clay-mayers opened this issue 1 year ago • 0 comments

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).

clay-mayers avatar Mar 28 '24 21:03 clay-mayers