presidentbeef/brakeman — pull request #180 by presidentbeef (2012-11-13 01:37:04+00:00)
Title: Call indexing performance improvement

When generating the CallIndex, call targets are converted to strings. This is to allow matching of known call targets against regexes. However, Brakeman was converting *all* call targets (including huge Sexps) to strings. This was taking up time and memory (I saw a big garbage collector improvement with this change) and it was pointless.

Should help with issue #171

One app I tested this on, which was taking a long time to index call sites, went from ~3.5 minutes to ~2 minutes.