summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJohn Hawthorn <[email protected]>2022-12-01 11:51:18 -0800
committerJohn Hawthorn <[email protected]>2022-12-01 16:31:54 -0800
commitdef258e77544409df507c0fa153cf40e84d65082 ()
tree4bdd4d09c918d51a0ef1d9c325283883599c3806 /lib
parentdcbea7671be74a328f115c6410980f54c872c478 (diff)
Improve packing of iseq_constant_body struct
By moving the two bools into a packing gap above the mark_bits pointer/union we can save 8 bytes in the struct and avoid an extra cache line (328 bytes vs 320 bytes). Co-authored-by: Adam Hess <[email protected]>
Notes: Merged: https://.com/ruby/ruby/pull/6847
0 files changed, 0 insertions, 0 deletions