Closed davidlattimore closed 2 months ago
SectionSlot
is now reduced to 32 bytes. Best of all some of the changes were definite wins in terms of reducing code complexity and I don't think any of the changes made things objectively worse. I'm probably hitting the point of diminishing returns, at least for now. Several of the enum variants now have the same size, so to get further reductions, all those variants would need to reduce. So I'll leave further reductions for now and call this done.
We create quite a lot of
SectionSlot
s. Each one is currently 80 bytes. I'm going to see if I can reduce this a bit.