-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bitarray: performance enhancements (fix #2360)
Improve performance of convert to BitArray (and therefore of bitpack) and of element-wise operations (e.g. `.<`, `.^` etc.)
- Loading branch information
1 parent
9a46e26
commit d056ae0
Showing
1 changed file
with
110 additions
and
28 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
d056ae0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool!
I think we might also need some manual inlining to improve scalar
A[i]
.d056ae0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BitArrays have become one of my favorite language features. Great to have these speed boosts since they're used everywhere now.