4 ms·
Array element accesses are bounds-checked in C# for safety. But, that means that there's performance impact... Why don't we have hardware support for this yet?
by rkagerer 1y ago
Array element accesses are bounds-checked in C# for safety. But, that means that there's performance impact...
Why don't we have hardware support for this yet? (i.e. CPU instructions that are bounds-aware?)
Edit: Do we?
https://stackoverflow.com/questions/40752436/do-any-cpus-have-hardware-support-for-bounds-checking https://stackoverflow.com/questions/40752436/do-any-cpus-hav...