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.
2 ** @width - 1
MJIT: Refactor BitField dereference byte and bitmask (#6955)
Prefer Array#unpack1 and Enumerable#sum.
I think the bitmask formula
2 ** @width - 1would be clearer, but not faster for such small integers.