Closed tmm1 closed 11 years ago
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 @scottjg @tnm @rtomayko @github/systems
Man, I've just noticed how fucking awful the buffer code in escape_utils is. Let me port this PR with new buffer code.
escape_utils
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 @scottjg @tnm @rtomayko @github/systems