clintbellanger/flare-engine — pull request #307 by piotrrak (2012-12-27 01:08:00+00:00)
Title: Small cleanups

Another bits of refactoring. First commit gets rid of linear search (not big deal but still).
Second adds few functions for repeating patterns, that make understanding code bit easier (atleast for me - hopefully for everyone). If you'd like to avoid code churn, caused by refactoring like this, please let me know. I plan some bigger changes, but like learning code this way.