3 Commits
Author SHA1 Message Date
Kevin Newton 58c56248c0 [ruby/prism] Keywords revisit
Introduce a perfect hash for keyword checking so we do not have to
do as many comparisons. This results in about a 1% speed up.

Also, introduce a function called by the C extension and the FFI
backend that can check if something is a keyword.

https://github.com/ruby/prism/commit/9d6a9e7d5f
2026-10-17 00:51:35 +00:00
Kevin Newton 74ffd72472 [ruby/prism] Code review
https://github.com/ruby/prism/commit/1f4bf83b53
2026-03-20 09:37:43 -04:00
Kevin Newton aacdc2c266 [ruby/prism] Move string query into its own file
https://github.com/ruby/prism/commit/88a247a486
2026-03-20 09:37:43 -04:00