re: A closer look at Go's append function VIEW POST

FULL DISCUSSION
 

The capacity doesn't always double. When it's grown to ~1024 (depends on OS) there applies another logic to increase the capacity of a slice.

 

Thanks for the feedback! Will update the post with that info

code of conduct - report abuse