-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make annotate faster by using indexing instead of merge (#353)
* Make annotate faster by using indexing instead of merge * copy bins, so they aren't modified twice... is it ok for memory? * fix bug * black * Refactor a little * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Move int conversion * Add initial value to allow min/max on empty array * Fix regression * Handle the empty case first * Add safe casting and no array copying if not necessary * Remove unnecessary nan handling --------- Co-authored-by: Nezar Abdennur <nabdennur@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
a72327e
commit cb529bc
Showing
1 changed file
with
63 additions
and
59 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