You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Implement fast symbol lookup in the interpreter #5638
We talked about speeding up the interpreter by avoiding hash maps for variable lookup. We should be able to assign statically an integer to each variable.
Unfortunately, we can't do this safely right now because of a bug in the interpreter (#5637). In some cases, the name resolution is not static. Once the bug is fixed, that should be feasible.
Activity
meisterT commentedon May 16, 2020
I assume @alandonovan's work makes this obsolete?
laurentlb commentedon May 17, 2020
I'd say it's part of Alan's work. You first need the static resolution before you can generate (decent) bytecode.
alandonovan commentedon May 17, 2020
What Laurent said. The following changes are necessary first:
brandjon commentedon Feb 16, 2021
Alan implemented this some time ago.