Y
Hacker News
new
|
ask
|
show
|
jobs
by
pratk
1293 days ago
Well C does allow "copying" an array if it's wrapped inside a struct, which does not make it O(1). gcc generates calls to memcpy in assembly for copying the array.