Y
Hacker News
new
|
ask
|
show
|
jobs
by
disposablezero
3461 days ago
Many implementations historically also allocated enough memory to include one extra element at the end of the array.
1 comments
tedunangst
3461 days ago
I find this improbable.
link
angry_octet
3460 days ago
Agreed, compiler implementors rarely decide to use more memory than is required. There may be a
stack canary
, but this is between stack allocated variables and control flow structures, not for every array.
link