-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#88] refactor(Mesh): speed up world mesh parsing
This commit moves the allocation of many small vectors within `zenkit::Polygon` into a two larger vectors inside `zenkit::Mesh`, reducing the number of small allocation made. Doing this leads to a 25% performance boost (from 193ms to 144ms) on my laptop running Fedora 40 on an Intel Core i7-11800H.
- Loading branch information
1 parent
89af81c
commit 1f88732
Showing
2 changed files
with
27 additions
and
15 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