You are not logged in.
zenix, have you considered using threads in the search method? Speeds it up quite a bit.
threads = []
list.each do |pkg|
threads << Thread.new do
info = get_info pkg
next if ($Options[:filter] and (info['Name'].include? filter or info['Description'].include? filter))
count += 1
puts search_style(info, (info.ood == 'true' ? :red : nil))
end
end
threads.each {|t| t.join}
Offline