3 ms·
Are you processing data using 4000 threads? Do you have access to a cluster? Otherwise it seems counter-productive. BTW, Python has great facilities (IPython.pa
by rocha 15y ago
Are you processing data using 4000 threads? Do you have access to a cluster? Otherwise it seems counter-productive. BTW, Python has great facilities (IPython.parallel) for doing parallel and distributed computing. It is also pretty good at number crunching using Numpy.
- genbattle 15y agoGoroutines are multiplexed onto a set of threads defined by the Go program. They're not each a full thread; it's more like Stackless Python's version of threads. http://www.stackless.com/ http://www.stackless.com/
- rocha 15y agoGood point. Since the OP was talking about execution speed, I thought he was using the word thread to refer to OS threads.
- sausagefeet 15y agoEven still, performing number crunching on 4000 Go thread seems like a bad idea.