2 ms·
I'm agreeing with you. I'm saying that a bounds checker is better than a segfault because it always works. (You're right that it actually doesn't always work b
by jstanley 4y ago
I'm agreeing with you. I'm saying that a bounds checker is better than a segfault because it always works.
(You're right that it actually doesn't always work because sometimes your stale index will still be inside the array but refer to a different thing, but at least it can't be abused to write into other arrays).