<DIV>Many thanks! I'll dig into this tomorrow. (I'm in India, so your day</DIV>
<DIV>is my night. ;-)</DIV>
<DIV>&nbsp;</DIV>
<DIV>Bill<BR><BR><B><I>Glyph Lefkowitz &lt;glyph@divmod.com&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">On Mon, 2004-05-17 at 08:08, Glyph Lefkowitz wrote:<BR>&gt; On Sun, 2004-05-16 at 22:43, Bill la Forge wrote:<BR>&gt; <BR>&gt; &gt; As for the timing, I'm counting the number of items I can pass on an<BR>&gt; &gt; async pipe between two virtual processes running in the background of<BR>&gt; &gt; the main thread. Details for running over asyncore are available here:<BR>&gt; &gt; http://compstrm.sourceforge.net/timing.html<BR>&gt; <BR>&gt; That code doesn't run - for starters, there is no variable 'd' in<BR>&gt; WriteMany.cs, endWrite does not appear to take an argument, I think<BR>&gt; readCount() is supposed to be ReadCount() in test(); it also doesn't<BR>&gt; appear to test the twcs module, but rather only the asyncore loop. Can<BR>&gt; you package some easy-to-run tests with your next release?<BR><BR>Well, this was an intriguing performance problem, and one that likely<BR>impacts my
 work, so I went ahead and fixed the tests. Attached is a<BR>modified copy of twcs.py from the may 16th distribution of compstrm on<BR>sf.net, a twcsperf.py that tests it, and a patch to Twisted that may be<BR>good to consider including. This patch special-cases a 0 argument to<BR>callLater to bypass the incredibly expensive gettimeofday syscall that<BR>we end up making as a result. I _think_ this is safe but I haven't run<BR>the test suite on it yet.<BR><BR><len(self.oldLst):<br></BLOCKQUOTE></len(self.oldLst):<br><p><font face=arial size=-1>
<a href="http://in.rd.yahoo.com/specials/mailtg/*http://yahoo.shaadi.com/india-matrimony/" target="_blank">
<b>Yahoo! India Matrimony</a>:</b> Find your partner 
<a href="http://in.rd.yahoo.com/specials/mailtg2/*http://yahoo.shaadi.com/india-matrimony/community.php" target="_blank">online</a>.</font>