4 ms·
Not sure if it's better, it just has less work to do. Java creates a lot more garbage.
by icholy 10y ago
Not sure if it's better, it just has less work to do. Java creates a lot more garbage.
- stcredzero 10y agoWhatever works. It's the result that counts.
- icholy 10y agoofc, I was strictly speaking about the GC algorithm.
- voidlogic 10y agoFair enough, I was comparing the application + runtime interaction, basically I, app behavior. >Java creates a lot more garbage. Very true, Go is great about keeping things on the stack. Also sync.Pool helps a lot when used as needed.