Hacker News new | past | comments | ask | show | jobs | submit login

It is amortized O(1). When the append needs to grow the slice, it does so by a multiplicative factor.



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

Search: