Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use faster method to determine open file count #59429

Merged
merged 1 commit into from
Nov 13, 2024

Commits on Nov 13, 2024

  1. Use faster method to determine open file count

    QDir is VERY slow for this calculation, because all related
    QDir methods require construction of the entry list upfront,
    which involves a bunch of extra work in calculating file attributes
    
    In a simple benchtest of trying to open 1000s of files using
    the ogr provider ~25% of the time was spent in calculating
    open file count. Afterwards this drops to <0.5%.
    nyalldawson committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    112f49c View commit details
    Browse the repository at this point in the history