Skip to content

Instantly share code, notes, and snippets.

@YasinKuralay
Created May 17, 2021 15:24
Show Gist options
  • Save YasinKuralay/a49f2e742e644f681a03840cdd70655f to your computer and use it in GitHub Desktop.
Save YasinKuralay/a49f2e742e644f681a03840cdd70655f to your computer and use it in GitHub Desktop.
GOLANG WWs
// Since we know the length of out is the same as in, isn't it better
// to pre-create out with a fixed length rather than calling append in
// a loop? I think append will double its capacity when needed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment