mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-08 00:06:51 -05:00
Instead of calculating feature count (which may add extra overhead), let's directly try to build index for layers. Only when a certain limit of features is reached (currently 1 million), the indexing is cancelled and layer is marked as non-indexable.