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
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.