-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
alg/heuristic: preallocate in Approximation (#107)
The Approximation.Suggest() method is prominent in the allocation profile. This PR reduces allocations by hoisting them out of the loop. Updates #60 Updates #25
- Loading branch information
1 parent
05190c7
commit 035ef76
Showing
1 changed file
with
9 additions
and
6 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