diff options
| author | Alan Wu <XrXr@users.noreply.github.com> | 2023-04-03 21:24:47 -0400 |
|---|---|---|
| committer | Alan Wu <XrXr@users.noreply.github.com> | 2023-10-17 11:30:35 -0400 |
| commit | 1f7234c0152df5dcf9a73acb352d20fcd3004ddf (patch) | |
| tree | 65218828f1606fde8f4bb0621c61df754ac8084d /parser_node.h | |
| parent | 01b5d1d2ff6ca91b2909dfa67295f59b53e6f065 (diff) | |
YJIT: Lookup IDs on boot instead of binding to them
Previously, the version-controlled `cruby_bindings.inc.rs` file
contained the build-time artifact `id.h`, which nobu mentioned hinders
the goal of having fewer magic numbers in the repository.
Lookup the IDs YJIT needs on boot. It costs cycles, but it's fine since
YJIT only uses a handful of IDs at the moment. No perceptible
degradation to boot time found in my testing.
Diffstat (limited to 'parser_node.h')
0 files changed, 0 insertions, 0 deletions
