-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(degree_lowering): cache node-degrees
Cache node degrees in the `pick_node_to_substitute` function which was found to be the bottle-neck in the build script. This caching shaves off 38 % of the time it takes to degree-lower, and 30 % of total build time of Triton VM. Measurements on my machine (mjolnir): degree-lowering step in build script: Before caching degrees: - 22.024172299s - 21.938811734s After caching: - 13.657397858s - 13.753980057s Total time to build triton-vm after change to `triton-constraint-circuit/src/lib.rs`: Before caching degrees: - 26.13s - 26.74s After caching: - 18.63s - 18.65s
- Loading branch information
1 parent
5e16b08
commit 6496a74
Showing
1 changed file
with
20 additions
and
20 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