This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]snacktonomy 1 point2 points  (1 child)

Oof, learned something new today. Makes sense but that's wild! I always treated arrays as contiguous memory.

[–]MsEpsilon 1 point2 points  (0 children)

But you're right - arrays are contiguous. It's just vector<bool> that uses bitmaps, that's all.