-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This CL modifies root2npy to process Trees column by column so only 1 numpy buffer is materialized in-memory. $> benchstat ./ref.txt ./new.txt name old time/op new time/op delta Process-8 2.48ms ± 1% 2.39ms ± 2% -3.44% (p=0.000 n=28+29) name old alloc/op new alloc/op delta Process-8 3.50MB ± 1% 2.64MB ± 2% -24.63% (p=0.000 n=30+29) name old allocs/op new allocs/op delta Process-8 3.41k ± 0% 3.28k ± 0% -3.60% (p=0.000 n=30+30)
- Loading branch information
Showing
2 changed files
with
73 additions
and
37 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