Re: Efficiency, threading, and concurrent.futures

2014-08-20 Thread Akira Li
Rob Gaddi writes: > I've got a situation where I'll be asking an I/O bound process to do > some work (querying an RS-232 device) while my main code is off > running a sleep() bound process. Everyone always talks about how > expensive thread creation is, so I figured I'd test it out in an > IPyth

Efficiency, threading, and concurrent.futures

2014-08-20 Thread Rob Gaddi
I've got a situation where I'll be asking an I/O bound process to do some work (querying an RS-232 device) while my main code is off running a sleep() bound process. Everyone always talks about how expensive thread creation is, so I figured I'd test it out in an IPython notebook. # import t