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
Use BooleanArray::has_true/has_false for short-circuit checks
Replace `true_count() == 0`, `true_count() > 0`, `false_count() == 0`,
and similar patterns with `has_true()`/`has_false()` where the actual
count is not needed. These methods can short-circuit on the first
matching value instead of counting all bits.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments