snazzy-d / sdc

The Snazzy D Compiler
MIT License
246 stars 55 forks source link

Split binInfos from bin into new module 'slab'. #292

Closed dsm9000 closed 1 year ago

dsm9000 commented 1 year ago

Split from https://github.com/snazzy-d/sdc/pull/287 .

Create new module slab, to remove spurious dependency on bin where only binInfos is required. Factor out slab index-finder logic into struct slabAllocGeometry in slab.