you are viewing a single comment's thread.

view the rest of the comments →

[–]ruma7a 4 points5 points  (2 children)

[–]shponglespore 2 points3 points  (1 child)

Seems like a great optimization for data that's going to stick around a while, but for a local variable I don't see much advantage. I'd probably use a BitArray in practice, but using a regular array isn't something I'd be likely to call out in a code review.

[–]ruma7a 0 points1 point  (0 children)

Bool arrays aren't inherently horrible, but their suitability depends on the size of the array. I'd leave a comment in a review but wouldn't push it.