Slide 6
Slide 6 text
Conclusion / Advise
Object Pooling is a real performance booster, makes
applications more efficient and creates less allocations and
thus requires less memory
More power means higher performance and/or lower
operating costs at the same time, since smaller CPU and
memory instances can be used to reach the same
performance.
For string processing, the StringBuilder is worthwhile in 99% of
cases. Some .NET string operations are already using a
StringBuilder implementation under the hood (internal type
ValueStringBuilder).
However, manual string builder implementations can reuse
instances through Object Pooling and thus be even more powerful.
https://github.com/BenjaminAbt/SustainableCode
Advise