Tinkerforge/generators — pull request #23 by NobodysNightmare (2012-09-20 09:03:43+00:00)
Title: C#: Use StringBuilder in LEComverter.StringFrom(...)

For performance reasons it is advised to use a StringBuilder for situations where you append to a String very often.

The reason for this is, that String is immutable, thus if you append 5 times to a String, you will allocate a total of 6 Strings in memory (1x create first string + 5x create a new string for each append).

The stringbuilder puts far less pressure on GC and memory.