Skip to content

Conversation

undingen
Copy link
Contributor

@undingen undingen commented Aug 3, 2016

and change it to use a unordered_map because it uses less memory in this case and is faster
(I assume because it does not have align the key value tuples)
saves about 10% of peak memory on django

and change it to use a unordered_map because it uses less memory in this case and is faster
(I assume because it does not have align the key value tuples)
saves about 10% of peak memory on django
@undingen undingen force-pushed the smaller_scopenameusage branch from 9526189 to 75f70a6 Compare August 3, 2016 16:28
@undingen undingen merged commit 6f34e11 into pyston:master Aug 3, 2016
@kmod
Copy link
Collaborator

kmod commented Aug 3, 2016

👍

I wonder if it might be better though to just go for "caching at the CFG level instead of AST" and get rid of lazy CFG computation (which is I think why we have to keep the scoping analysis around).

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.

2 participants