summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authorRandy Stauner <[email protected]>2024-12-05 15:51:32 -0700
committer<[email protected]>2024-12-05 17:51:32 -0500
commitb021f6f8a74bee71aa5ce153e7c2095f0f41ed3d ()
treeaab31fd8cfe09d994ae17cd0194dd585ad167682 /vm.c
parenteedb30d3855d31e15e6db48faea25af4afb63b6d (diff)
Use symbol.h in vm.c to get macro for faster ID to sym (#12272)
The macro provided by symbol.h uses STATIC_ID2SYM when it can which speeds up methods that declare keyword args. Co-authored-by: Alan Wu <[email protected]> Co-authored-by: Takashi Kokubun (k0kubun) <[email protected]> Co-authored-by: Maxime Chevalier-Boisvert <[email protected]> Co-authored-by: Aaron Patterson <[email protected]>
Notes: Merged-By: maximecb <[email protected]>
-rw-r--r--vm.c1
1 files changed, 1 insertions, 0 deletions
@@ -33,6 +33,7 @@
#include "internal/variable.h"
#include "iseq.h"
#include "rjit.h"
#include "yjit.h"
#include "ruby/st.h"
#include "ruby/vm.h"