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
The only method I can find is into_usizes which creates a new allocation.
I can manually accomplish this via iterating over all indices and using .filter(|i| matches!(bitset.get(i), Some(true)) but it seems like this is potentially not the most efficient implementation.
Would it be possible to add a method for this? Perhaps one that returns the iterator currently used internally in into_usizes?
The only method I can find is
into_usizes
which creates a new allocation.I can manually accomplish this via iterating over all indices and using
.filter(|i| matches!(bitset.get(i), Some(true))
but it seems like this is potentially not the most efficient implementation.Would it be possible to add a method for this? Perhaps one that returns the iterator currently used internally in
into_usizes
?The text was updated successfully, but these errors were encountered: