Store active indexes in an array rather than an object
Merge pull request #6 from josh/optimize-for-in-statement

Optimize matches