-
Notifications
You must be signed in to change notification settings - Fork 395
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
StringPool
from CommunityToolkit in ToUpperASCIIFast
extension
from be0736b (+ cherry-picked ccba93440) to this commit: - `Database` reported runtime 0.64 s --> 0.68 s - profiled `ParseCGIRecord` mean runtime 0.190 ms --> 0.179 ms - `GameDBHelper` 1M lookups reported runtime 1.03 s --> 0.69 s - managed allocations (w/o the 1M lookups) 131 MiB --> 123 MiB (fewer strings but more char[]s?) since `CompactGameInfo` obviously can't store `Span`s, I tried with `StringSegment`, but it made both lookups *and init* slower, thanks MS
- Loading branch information
Showing
3 changed files
with
5 additions
and
1 deletion.
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
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