-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use binary search to get temperature list for billing periods.
In function get_outputs_normalized(), to get temperatures within a certain billing period, binary search (using the bisect module) is used to speed up the search process. Speed up is at least 30x.
- Loading branch information
1 parent
c2ae6e7
commit be7987a
Showing
1 changed file
with
17 additions
and
7 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