Skip to content

vhd-util check very slow #39

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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