-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use branches when choosing how to merge face attrs
While ifelse looked like a reasonable choice, it turns out that the performance (allocations in particular) is improved by creating a branch. We go from 2 allocations to 0 when merging faces, which very much adds up over time.
- Loading branch information
1 parent
eada2dc
commit 9b9cf71
Showing
1 changed file
with
14 additions
and
13 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