-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize generation of prisms vertices
Instead of generating each set of vertices per prism using a Python for loop, we have defined a new function that runs this conversion for a full set of prisms boundaries using Numpy for optimization. Only 21 for loops iterations are used, independently of the size of the prisms list.
- Loading branch information
1 parent
6328b0f
commit 28d92e1
Showing
1 changed file
with
94 additions
and
29 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