Art of Hacking Golang compiler

UPDATE 03/19/2018 CL https://golang.org/cl/91557 and https://golang.com/cl/100838 are committed and will be a part of Go 1.11. UPDATE 06/25/2018 Found a bug https://golang.org/issue/25936. Fixed by CL https://golang.org/cl/120255 What? map and append When I just started to learn Golang, found this example: You may see two likes[l] that are obviously not free if final machine code is doing it. There is no … Continue reading Art of Hacking Golang compiler