TimelyDataflow / differential-dataflow

An implementation of differential dataflow using timely dataflow on Rust.
MIT License
2.53k stars 182 forks source link

Fix off-by-one capacity error when sizing target containers #450

Closed antiguru closed 8 months ago

antiguru commented 8 months ago

Yes; we could change the default to 1, but then we'd allocate a container of size 1 even if there's no data to be pushed? Might add a cost where we create empty batches.

frankmcsherry commented 8 months ago

Makes sense!