Some performance tricks with .NET strings