Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Context 0.2, optimize empty arrays #449

Open
Yoric opened this issue Sep 13, 2019 · 0 comments
Open

In Context 0.2, optimize empty arrays #449

Yoric opened this issue Sep 13, 2019 · 0 comments

Comments

@Yoric
Copy link
Collaborator

Yoric commented Sep 13, 2019

Quoted from @dominiccooney

The presence of an EmptyCodeTable could suppress encoding the length for a given array, which must be zero at that point.

If I understand correctly, the idea is to use EmptyCodeTable for 0-length arrays, instead of a UnitCodeTable followed by a 32-bit length.

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

No branches or pull requests

1 participant