mxcl/homebrew — pull request #11742 by hazz (2012-04-18 23:00:07+00:00)
Title: Threaded brew search

Perform each call to search_tap in a separate thread, shaving roughly 2 seconds off the search time on my machine (~30% of the total time). I realise this might not be a huge priority but I saw the TODO in the code and thought I'd have a go at implementing it. I don't know much about multithreading in ruby so there may be a better way to do it, but here's my attempt.