|
|
|
|
|
by n2d4
570 days ago
|
|
You could in theory create your own event loop and then get the exact same behaviour as Promises in Go, but you probably shouldn't. Goroutines are the way to do this in Go, and it wouldn't be useful to benchmark code that would never be written in real life. |
|
I'm not sure if I missed it, but I don't see the benchmark specify how the memory was measured, so I assumed the time -v.