-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEV/TEST: ~3x h5_to_cube speed enhancement
DEV: * Change _exp_format from doing both the precision insertion into the substitution string and the value formatting, to only inserting the sub string. This avoids repeating the precision insertion call *millions* of times, since it only needs to be constructed once. * Change the data processing segment of h5_to_cube so that it iterates over each (x, y) block of values (z and dataset # data are flattened and handled as one block). Values are still output in rows of six, and a newline is included after each (x, y) block TEST: Necessary to adjust the test suite for _exp_format to accommodate the changed call structure.
- Loading branch information
Showing
2 changed files
with
40 additions
and
22 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