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

Don't duplicate all environment strings #23

Closed
deplinenoise opened this issue Aug 18, 2010 · 1 comment
Closed

Don't duplicate all environment strings #23

deplinenoise opened this issue Aug 18, 2010 · 1 comment
Labels

Comments

@deplinenoise
Copy link
Owner

Currently external environment strings are duplicated for all nodes which wastes a lot of memory. These are immutable and could be kept in a hash table instead.

@deplinenoise
Copy link
Owner Author

Store environment mappings in a Lua table.

  • This has the side effect of keeping them unique as Lua internally
    stores all strings only once.
  • Saves a lot of memory on big MSVC builds.

Closed by f4fb2a2.

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

No branches or pull requests

1 participant