brianmario/escape_utils — pull request #26 by tmm1 (2013-02-25 08:19:41+00:00)
Title: EscapeUtils.html_escape performance

This removes all allocations and copies in the special case where the target string requires no escaping. The original ruby string is returned to the caller.

/cc @vmg @github/systems