-
Notifications
You must be signed in to change notification settings - Fork 489
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip building index when loading a tree from a file
While benchmarking, it turned out that constructing a tree immediately built its index. Calling loadIndex() afterwards did practically nothing. This commit adds an enum to allow passing additional flags like `SkipInitialBuildIndex` to allow loading a tree without the initial index build. Greatly reduces startup time for large prebuilt trees.
- Loading branch information
Showing
2 changed files
with
19 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters