-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove oter_id == char* overload (#52411)
* Remove oter_id == char* overload Previously there was an operator== overload for comparing an oter_id to a string literal. This is slow compared to the optimized comparison we have for string_ids, and was showing up in profiling for overmap generation, so remove that overload and refactor the calling code accordingly. This revealed a couple of bugs where particular ids were no longer valid; fix those. Co-authored-by: Zhilkin Serg <[email protected]>
- Loading branch information
1 parent
03abd4f
commit 3259efe
Showing
8 changed files
with
257 additions
and
156 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
Oops, something went wrong.