Aaron Patterson 475663f039 Only intern constants upon compilation entry
Before this commit the Prism compiler would try to intern constants
every time it re-entered. This pool of constants is "constant" (there is
only one pool per parser instance), so we should do it only once: upon
the top level entry to the compiler.

This change does just that: it populates the interned constants once.

Fixes: https://github.com/ruby/prism/issues/2152
2024-01-12 14:53:14 -08:00
..
2023-12-16 10:09:50 +08:00
2023-12-25 20:33:22 +09:00
2023-12-22 11:24:04 -08:00
2023-12-12 11:22:40 +09:00
2023-09-27 13:57:38 -04:00