4 ms·
>an expensive check+branch on each array access It's not very expensive because the branch will never be taken except when it results in an out of bounds acces
by imtringued 7y ago
>an expensive check+branch on each array access
It's not very expensive because the branch will never be taken except when it results in an out of bounds access. When that out of bound access happens you care more about the security benefits than performance.
- saagarjha 7y agoIt has a code size penalty as well.