You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The reason will be displayed to describe this comment to others. Learn more.
At first, I was thinking of not exporting it. Then I considered this: 1) broadcast! alone would be sufficient, but allocating the right size involves using broadcast_shape which is not exported and not too friendly 2) it seems to me that the bit- prefix goes along nicely with other BitArray-related functions, i.e. bitpack and bitunpack. So in the end my reasoning was basically along the lines of "why not?". It's fine with me to un-export and un-document.
b871f72
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.
It's not very satisfying to need this function. It seems very specific.
b871f72
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.
At first, I was thinking of not exporting it. Then I considered this: 1)
broadcast!
alone would be sufficient, but allocating the right size involves usingbroadcast_shape
which is not exported and not too friendly 2) it seems to me that thebit-
prefix goes along nicely with other BitArray-related functions, i.e.bitpack
andbitunpack
. So in the end my reasoning was basically along the lines of "why not?". It's fine with me to un-export and un-document.