diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2022-02-01 09:25:12 -0500 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2022-02-02 09:52:04 -0500 |
| commit | 7b77d46671685c837adc33b39ae0210e04cd8b24 (patch) | |
| tree | 426dd92de0af81c4d6cbc3f0af732cc7fe80ede8 /spec/ruby/core/array/shared/difference.rb | |
| parent | af107710457b4bd148c6e5ee7a336ed4961f5423 (diff) | |
Decouple GC slot sizes from RVALUE
Add a new macro BASE_SLOT_SIZE that determines the slot size.
For Variable Width Allocation (compiled with USE_RVARGC=1), all slot
sizes are powers-of-2 multiples of BASE_SLOT_SIZE.
For USE_RVARGC=0, BASE_SLOT_SIZE is set to sizeof(RVALUE).
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5517
Diffstat (limited to 'spec/ruby/core/array/shared/difference.rb')
0 files changed, 0 insertions, 0 deletions
