Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: