4 ms·
I have no idea if it would apply here, but many instances where a field is forgotten in a size calculation happen because the field wasn't originally there, and
by mikeash 12y ago
I have no idea if it would apply here, but many instances where a field is forgotten in a size calculation happen because the field wasn't originally there, and not all of the relevant code got updated when it was added. Beware any code that requires knowledge of all elements of some set, and still compiles if a new element is added and the code isn't updated for it.