ServiceStack/ServiceStack.Text — pull request #232 by jjavery (2012-11-13 05:05:52+00:00)
Title: A smarter and faster StringExtensions.ToCamelCase(), with unit test

Original ToCamelCase:

ID ==> iD
LIBORInterestRate ==> lIBORInterestRate
IPAddress ==> iPAddress
string.Substring() and string.Concat() ==> slower

New ToCamelCase:

ID ==> id
LIBORInterestRate ==> liborInterestRate
IPAddress ==> ipAddress
new char[] and new string(char[]) ==> faster

50% to 100% time improvement when tested on Mono 3.0.1 and Mac OS 10.8.2