-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize analysis calculation (#495)
* Optimize analysis calculation Aggregating analyzed results is slow for complex expressions because we aggregate samples over and over again. This commit speeds that up by memoizing aggregates. Signed-off-by: Filip Petkovski <[email protected]> * Remove stray change Signed-off-by: Filip Petkovski <[email protected]> * Fix lint Signed-off-by: Filip Petkovski <[email protected]> --------- Signed-off-by: Filip Petkovski <[email protected]>
- Loading branch information
1 parent
30e7a9f
commit 097e6e9
Showing
2 changed files
with
39 additions
and
44 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