ants icon indicating copy to clipboard operation
ants copied to clipboard

is the latest 1.18 go routine faster than this?

Open hiqsociety opened this issue 2 years ago β€’ 2 comments

is the latest 1.18 go routine faster than this?

just curious coz it seems faster etc now

hiqsociety avatar Mar 21 '22 05:03 hiqsociety

Could you please provide a little bit more context to your question?

timo-klarshift avatar Mar 22 '22 22:03 timo-klarshift

@hiqsociety yes actually, the current implementation of goroutines (go 1.18) is such that using unlimited goroutines is faster than using a goroutine pool at the cost of extra memory

here are the benchmarks supporting that claim https://github.com/alphadose/itogami#benchmarks

alphadose avatar Jun 18 '22 02:06 alphadose