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

Optimize space consumption of environments #89

Open
GoogleCodeExporter opened this issue May 7, 2015 · 1 comment
Open

Optimize space consumption of environments #89

GoogleCodeExporter opened this issue May 7, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Optimize the memory structure of environments so that they use less heap space.

Currently, token variable environments are represented as scala Lists 
containing Binding elements.

It is possible to reduce space overhead by making each Binding element instead 
contain a pointer to an environment, using the Bindings directly as a linked 
list structure.

This may increase code complexity in multiple places, especially those 
involving closure creation. The reduction in heap usage may not be worth the 
increase in complexity and the potential for errors.

Original issue reported on code.google.com by dkitc...@gmail.com on 16 Nov 2011 at 11:14

@GoogleCodeExporter
Copy link
Author

(just cleaning up -- accepting "New" issues)

Original comment by jthywissen on 6 Jul 2012 at 9:58

  • Changed state: Accepted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants