Re: [Twisted-Python] How to accept connections faster

March 16, 2005
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.
7301
Age (days ago)
7301
Last active (days ago)
0 comments
1 participants
participants (1)
-
Andrzej Leszczynski