Dennis Lee Bieber: >Raymond Hettinger: >> Because of the GIL, thread pools are not as useful in Python as you >> might expect -- they execute one at a time and do not take advantage of >> hyper-threading or multiple processors. If that kind of efficiency is > > If the task is I/O bound (something like a web spider?), seems >they'd still be useful...
Yes, I use a thread pool for that. But async I/O may be a more efficient solution (e.g. Twisted). -- René Pijlman Wat wil jij leren? http://www.leren.nl -- http://mail.python.org/mailman/listinfo/python-list