Skip to content

vhd-util check very slow #39

@tmakatos

Description

@tmakatos

vhd-util check is very slow because of the double loop. We can create an array of sector ranges occupied by each extent and then sort it. We can then check for overlaps, so the whole process should take O(NlogN) time instead of O(N^2).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions