Vastly improves performance when dealing with large data sets
Merge pull request #4 from ketzusaka/performance_enhancements

Vastly improves performance when dealing with large data sets