cloud-hypervisor/block_util
Rob Bradford eb87538100 block_util: Avoid reallocation of Vec on push
When using DHAT[1] for analysis the amount heap allocations change from:

dhat: Total:     3,186,536 bytes in 41,452 blocks

 to

dhat: Total:     1,059,816 bytes in 34,747 blocks

When running against virtio-block; this still more allocations than
virtio-pmem but a significant improvement without any cost.

[1] https://docs.rs/dhat/latest/dhat/

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2023-01-09 10:41:56 -08:00
..
src block_util: Avoid reallocation of Vec on push 2023-01-09 10:41:56 -08:00
Cargo.toml build: Bump libc from 0.2.138 to 0.2.139 2023-01-05 23:41:28 +00:00