Y
Hacker News
new
|
ask
|
show
|
jobs
by
ashearer
3924 days ago
...and for anything larger than a small fixed-size array (like the example), you'd avoid data-copying overhead by passing a slice, which is a bounds-checked bundle of pointer and length.