Threading with queues

Lie Ryan lie.1296 at gmail.com
Thu Dec 24 13:20:19 EST 2009


On 12/24/2009 2:11 PM, Gib Bogle wrote:
> Lie Ryan wrote:
>> On 12/22/2009 10:47 AM, Gib Bogle wrote:
>>> It turns out that this code isn't a great demo of the advantages of
>>> threading, on my system anyway. The time taken to execute doesn't vary
>>> much when the number of threads is set anywhere from 1 to 6.
>>
>> it does in mine:
>>
>> Elapsed Time: 7.47399997711 (with one thread)
>> Elapsed Time: 1.90199995041 (with five threads)
>>
>> what sort of weird machine are you in?
>
> Hmmm, interesting. I am running Windows XP on Intel quad core hardware,
> Q6600. And you?

On [AMD64 X2 K8 Turion 1.6 Ghz] on Vista (32-bit)



More information about the Python-list mailing list