diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-04-19 11:39:18 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-04-19 11:39:18 +0200 |
commit | 087ff14d6117ef746bfad797a8088a7e6b74d5ac (patch) | |
tree | 308fadc42f93f3598f3be2594388723f21743a54 /data/rbot/plugins/grouphug.rb | |
parent | 93314b5143834ec51d5b8f118ef343b59203c130 (diff) |
rss plugin: return from select_nonempty() as soon as nonempty is found
Don't map over all parameters, because some parameters might not respond
to empty?. Also, it's unnecessarily slow. Just return as soon as we
found a nonempty parameter.
Diffstat (limited to 'data/rbot/plugins/grouphug.rb')
0 files changed, 0 insertions, 0 deletions