OPTIMIZATION of LEN and CAP in GoLang

Опубликовано: 14 Октябрь 2024
на канале: Slavniy IT
2,013
126

How Go compiler can optimize built-in functions in Go? We'll consider which assembler is generated by the compiler in some cases.

Official repo with source code: https://github.com/golang/go

The file with Slice struct and with make implementation: https://github.com/golang/go/blob/mas...


Subscribe, if you want to get new knowledges about Go inside!

Write any questions and thoughts in your comments. It matters for me.