coreyoconnor/vty — pull request #59 by ethercrow (2014-09-23 16:17:25+00:00)
Title: Optimize Input.Classify.classify.

So I had a problem that `classify.compile` is evaluated on every single
keystroke. I can only guess that when `classify` had a call to `compile`
under a guard GHC was unable to optimize this as expected. Switching
`compile table` and pattern matching on input seems to help, I no longer
see it dominating in profiling data.