Re: [Twisted-Python] How to accept connections faster
16 Mar
2005
16 Mar
'05
1:46 p.m.
Hi,
print "Looping..." for i in range(10000000): pass print "Looping done."
regardles I am not sure the reason of the loop and how it fits into the design of Reactor, I wonder why it is *only* 2 seconds. On my laptop 1.1GHz, 256MB RAM it takes a way more to complete the loop and unblock the Reactor's "select". Second comment is why not xrange(10000000). With range my python2.3 starts allocating xxMB of memory. What machine,OS,python version you use? A.
7245
Age (days ago)
7245
Last active (days ago)
0 comments
1 participants
participants (1)
-
Andrzej Leszczynski