Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
quinn-proto: add over-allocation metric (fix #981)
Add an over_allocation field to Buffer and Assembler to keep track of wasted memory per Buffer and per Assembler. Add an allocation_size parameter to Assembler::insert to estimate wasted memory per Buffer. Trigger defragmentation when over-allocation reaches 32k.
- Loading branch information