Try to reduce complexity of operation to get some speedup
Merge pull request #14 from mrfuxi/davide-bot-use-sets

Try to reduce complexity of operation to get some speedup