summaryrefslogtreecommitdiff
path: root/defs
diff options
context:
space:
mode:
authorMau Magnaguagno <maumagnaguagno@gmail.com>2022-12-17 18:06:50 -0300
committerGitHub <noreply@github.com>2022-12-17 13:06:50 -0800
commit632beec01f6a293aa03da06f5f0e6f9a7c22a8c5 (patch)
tree5b4b7eb418ccbb9047b1f00b0651f2fa55bdf73a /defs
parent6e3bc6710324aeb75299c9edce305b6f7c22321c (diff)
downloadruby-632beec01f6a293aa03da06f5f0e6f9a7c22a8c5.tar.gz
MJIT: Refactor BitField dereference byte and bitmask (#6955)
Prefer Array#unpack1 and Enumerable#sum. I think the bitmask formula ``2 ** @width - 1`` would be clearer, but not faster for such small integers.
Diffstat (limited to 'defs')
0 files changed, 0 insertions, 0 deletions