Closed antiguru closed 9 months ago
I have another question too: could the merger be for arbitrary BatchContainer
types, or does it just work for TimelyStack
? Is there some BC::prefered_capacity()
method we might add to make it general?
I have another question too: could the merger be for arbitrary
BatchContainer
types, or does it just work forTimelyStack
? Is there someBC::prefered_capacity()
method we might add to make it general?
I'd prefer a single general implementation, but it's not easy to get there:
pending
buffer. We could, but we first would need to do the measurements to see what impact it might have.copy_destructured
API, which allows us to avoid allocating a tuple just because we have no alternative way to represent its parts. We don't have this API for Vec
, so we'd need to invent something.C
parameter to OrdValBatch
.Looks good, and let's merge!
This builds on #414 but uses the new Layout feature recently merged.