-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid
ftell()
calls by pfSizedStream
.
According to profiling, calls to `ftell()` when reading creatables is the largest time sink when reading PRPs. On a trivial test with two iterations of loading Garrison, the results are thus: Before: 68.68s (34.34s avg) After: 7.68s (3.84s avg)
- Loading branch information
Showing
2 changed files
with
19 additions
and
12 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