cloud-hypervisor/vm-migration
Julian Stecklina ad9034ed1d vm-migration: optimize dirty bitmap scanning
Adding itertools as dependency improves the iteration code in the
following significantly.

With this change, we don't need a copy of the vector. Just something
that can be coerced into an iterator. We also use the bit position
iterator to make the code somewhat clearer. The new code is much
faster, because it will not iterate over every bit, just each 1 bit in
the input.

The next commit will complete this optimization and have some concrete
numbers.

On-behalf-of: SAP julian.stecklina@sap.com
Signed-off-by: Julian Stecklina <julian.stecklina@cyberus-technology.de>
2025-11-17 14:34:54 +00:00
..
src vm-migration: optimize dirty bitmap scanning 2025-11-17 14:34:54 +00:00
Cargo.toml vm-migration: optimize dirty bitmap scanning 2025-11-17 14:34:54 +00:00