! MouseHole 1.3 on its way -- let's talk about it

mental@rydia.net mental at rydia.net
Tue Dec 13 11:46:57 EST 2005


Quoting why the lucky stiff <why at hobix.com>:

> 1. The Net::HTTPIO class is slow and blame awful.  It needs a
> recode.  It's only ninety-eight lines long, so it's not too much
> work really.  But I really need another approach.  This is the
> lynchpin on MouseHole's success.  If we speed this up and keep it
> from blockin threads, then we're basically fast.

Hmm, do you have an idea where the blocking is currently happening? 
Is it the IO#read/IO#readlines?  I thought those were non-blocking
with respect to Ruby threads, though...

-mental


More information about the Mousehole-scripters mailing list