-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skeleton: reorder loops to speedup data generation.
Process each subpath of the multipath separately (instead of iterating on all subpaths in lockstep) in order to reduce the size of storage used for the intermediate tag values. Previously the required storage was a matrix of size M x N, where M is the width of the multipath and N is the maximum tag variable number (prior to tag optimizations). Matrix elements are vectors, because some tags are m-tags (they need to record the full history, not just the last value). Allocating and initializing the matrix takes a long time. Now the required storage is a vector of length N. The same storage is reused for all subpaths. This partially fixes #331.
- Loading branch information
Showing
3 changed files
with
82 additions
and
65 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
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