-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PERF: Avoid stacking numpy arrays and pre-allocate our needed arrays
We can stack the arrays manually by setting the contents directly through Numpy's indexing. Additionally, this way we can allocate the arrow with Fortran ordering so it should be faster to pass to the underlying codes.
- Loading branch information
Showing
1 changed file
with
27 additions
and
38 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