fix(vhd/merge): fix performance enhancement (#2980)
This commit is contained in:
committed by
Julien Fontanet
parent
7be8f38c6b
commit
d7cfe4d3dc
@@ -476,12 +476,12 @@ export default class Vhd {
|
||||
|
||||
// For each sector of block data...
|
||||
const { sectorsPerBlock } = child
|
||||
let parentBitmap = null
|
||||
for (let i = 0; i < sectorsPerBlock; i++) {
|
||||
// If no changes on one sector, skip.
|
||||
if (!mapTestBit(bitmap, i)) {
|
||||
continue
|
||||
}
|
||||
let parentBitmap = null
|
||||
let endSector = i + 1
|
||||
|
||||
// Count changed sectors.
|
||||
|
||||
Reference in New Issue
Block a user