snazzy-d / sdc

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

Only scan used capacity on large allocations. #394

Closed schveiguy closed 2 weeks ago

schveiguy commented 2 weeks ago

This will save time on scanning, and also remove any need to zero out any tail of allocations.

For a large buffer that is reset to contain very few elements, this will be a huge savings.