snazzy-d/sdc

sdalloc - Why does this function accept a range of pointers?

Closed this issue · 1 comments

Looking through the GC code, and I'm puzzled why this accepts an array of pointers, and then only uses one of them:

uint batchAllocSmall(ref CachedExtentMap emap, ubyte sizeClass,

The buffer parameter is passed to the batchAllocate function of the bin, but only one pointer is passed, should the whole thing be passed?

It was a stopgap state. This is not the case anymore.