Skip to content

refactor: align MsgPackOpCode cases with MessagePack formats - #20

Merged
nnabeyang merged 2 commits into
mainfrom
refactor/msgpack-opcode-init
Jul 21, 2026
Merged

refactor: align MsgPackOpCode cases with MessagePack formats#20
nnabeyang merged 2 commits into
mainfrom
refactor/msgpack-opcode-init

Conversation

@nnabeyang

Copy link
Copy Markdown
Owner

MsgPackOpCode previously grouped nil, boolean, and floating-point formats under an implementation-specific .simple case and classified fix formats through nested bitmask conditions. Replace .simple with dedicated .nil, .bool, and .float cases, update eager and lazy scanning paths to handle them directly, and rewrite the initializer as a single range-based switch that follows the MessagePack opcode table.

@nnabeyang
nnabeyang force-pushed the refactor/msgpack-opcode-init branch from 2a31d41 to 5752817 Compare July 21, 2026 23:10
@nnabeyang
nnabeyang merged commit b96cf71 into main Jul 21, 2026
6 checks passed
@nnabeyang
nnabeyang deleted the refactor/msgpack-opcode-init branch July 21, 2026 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant