Remove more pointers+better NewXYZ funcs

This commit is contained in:
bloeys
2024-05-05 00:24:44 +04:00
parent e6bf7aee10
commit 3eb372dec3
4 changed files with 128 additions and 40 deletions

View File

@ -54,5 +54,5 @@ func main() {
## Notes
You can check compiler inlining decisions using `go run -gcflags "-m" .`. Some functions look a bit weird compared to similar ones
You can check compiler inlining decisions using `go run -gcflags "-m" .`. Some functions look a bit weird
because we are trying to reduce function complexity so the compiler inlines.