Permalink
Please sign in to comment.
Browse files
Reduce object creation / memory usage by reusing ID instances.
The pure Python code just passes around pointers. It never created more than one instance of a given Id. This should fix the regression in memory usage.
- Loading branch information...
Showing
with
23 additions
and 8 deletions.
- +19 −6 core/id_kind.py
- +4 −2 osh/parse_lib.py
0 comments on commit
64305c1