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

In Go, a slice is a reference to a segment of an underlying array.


Yes, but the reference (along with size information) is passed by value, so no garbage.




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

Search: