mongodb/mongo — pull request #472 by william-tan (2013-08-07 21:28:03+00:00)
Title: CS-7621: Suggested optimization in escape function

Optimize the escape string function by using string rather than string builder and copying substring rather than appending each character.