Re:I love coding in C
by imtringued on Thursday December 26, 2019 @10:30AM
(#21884421)
>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.
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.