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

Add support for reads from immutable slots/indexes #303

Open
smarr opened this issue Jul 9, 2019 · 0 comments
Open

Add support for reads from immutable slots/indexes #303

smarr opened this issue Jul 9, 2019 · 0 comments
Labels
good first issue Are you trying to have a good at SOMns? Start here! help wanted Would be great if you could help out here.

Comments

@smarr
Copy link
Owner

smarr commented Jul 9, 2019

We should do AST caching of reads from immutable storage locations.

I tried this before, but not correctly: fe9140a

May only be beneficial for very few programs, and has the problem of caching values.
Though, for things like reading from outer objects, that might be beneficial.

The previous attempt was incorrect I think.
Though, by doing this, we can avoid the subclasses for immutable objects/arrays, and a lot of complexity with it.
By moving it into the AST, we could get a uniform handling.

@smarr smarr added help wanted Would be great if you could help out here. good first issue Are you trying to have a good at SOMns? Start here! labels Jul 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Are you trying to have a good at SOMns? Start here! help wanted Would be great if you could help out here.
Projects
None yet
Development

No branches or pull requests

1 participant