3 ms·
Array bounds checking is plenty fast, it's the iterators specifically that are the problem. Unless your code is heavy on those, you wouldn't notice. (OTOH for
by int_19h 4y ago
Array bounds checking is plenty fast, it's the iterators specifically that are the problem. Unless your code is heavy on those, you wouldn't notice.
(OTOH for cases where you would notice, given the perf penalty, you might as well just write it in C# then.)