62 ms·
Probably a lot, as Go is trying to keep things simple. Probably it would also benefit from a generational garbage collection.
by legulere 5y ago
Probably a lot, as Go is trying to keep things simple. Probably it would also benefit from a generational garbage collection.
- choeger 5y agoWait a second, how does go allocate memory? Is there no nursery?
- adgjlsfhk1 5y agothe go theory is that if you allocate on the stack most of the time, and do static analysis to manually free things based on escape analysis, you end up not using GC for most things that Java would put in the nursery in the first place.
- ngrilly 5y agoThe team thought about that obviously and the answer is probably not: https://go.dev/blog/ismmkeynote https://go.dev/blog/ismmkeynote