Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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%.
- Loading branch information