Here's a baseline: http://goo.gl/91vIGc. Destroy!Andrei
Before we roll this out, could we discuss a strategy/guideline in regards to detecting and handling invalid UTF sequences?
Having a fast "front" is fine and all, but if it means your program asserting in release (or worst, silently corrupting memory) just because the client was trying to read a bad text file, I'm unsure this is acceptable.