Skip to content

Add PACK_EXTDICT and UNPACK_EXTDICT opcodes at $1a/9a - #123

Draft
dstelzer wants to merge 10 commits into
mainfrom
make-extdict
Draft

dstelzer wants to merge 10 commits into
mainfrom
make-extdict

Conversation

@dstelzer

Copy link
Copy Markdown
Contributor

@dstelzer

Copy link
Copy Markdown
Contributor Author

This will probably need to be moved to 1.2, so I'm leaving it as a draft for now; if 1.1 comes out before this is ready, then we'll have to move all the updates over.

@dstelzer

Copy link
Copy Markdown
Contributor Author

On further reflection, I'm currently trying PACK_EXTDICT at 1A and UNPACK_EXTDICT at 9A. It makes the implementation much simpler and will be faster at runtime if the compiler can just pick the right opcode for the job instead of letting the interpreter decide what that opcode is meant to do.

@dstelzer dstelzer changed the title Add MAKE_EXTDICT opcode at 1A Add PACK_EXTDICT and UNPACK_EXTDICT opcodes at $1a/9a Oct 17, 2026
@dstelzer

Copy link
Copy Markdown
Contributor Author

Blocking on #124

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