I have recently started using StringWriter instead (it's a very thin wrapper around StringBuilder), but now it's a proper TextWriter, and I'm very happy.
I have recently started using StringWriter instead (it's a very thin wrapper around StringBuilder), but now it's a proper TextWriter, and I'm very happy.
Following this trend, it will be clean architecture in C# by Friday...
Following this trend, it will be clean architecture in C# by Friday...
No StringBuilder. No problem.
Rust’s slices and strings make you rethink how to work with text, without all the copying and overhead.
Here’s what I learned:
woodruff.dev/slices-and-s...
#RustLang #CSharp #DotNet #LearnRust #RustForCSharpDevs
No StringBuilder. No problem.
Rust’s slices and strings make you rethink how to work with text, without all the copying and overhead.
Here’s what I learned:
woodruff.dev/slices-and-s...
#RustLang #CSharp #DotNet #LearnRust #RustForCSharpDevs
👇
nietras.com/2025/05/07/s...
#dotnet #csharp
👇
nietras.com/2025/05/07/s...
#dotnet #csharp
🤦I didn't realize how heavy Java's String.format was on the CPU when used in a render loop. I'm going to need to replace these instances with StringBuilder instead.
🤦I didn't realize how heavy Java's String.format was on the CPU when used in a render loop. I'm going to need to replace these instances with StringBuilder instead.
nenhum stringbuilder deveria ser threadsafe
nenhum stringbuilder deveria ser threadsafe
Jokes aside, I didn't know on how string concatenation works like that in V8 🤯 A great article on the string internals 👇
Jokes aside, I didn't know on how string concatenation works like that in V8 🤯 A great article on the string internals 👇
✅ Answer: StringBuilder
Because String is immutable and creates a new object on every modification, while StringBuilder updates the same object.
Read my latest article On StringBuilder:
open.substack.com/pub/gauravrs...
✅ Answer: StringBuilder
Because String is immutable and creates a new object on every modification, while StringBuilder updates the same object.
Read my latest article On StringBuilder:
open.substack.com/pub/gauravrs...
será q precisa?
será q precisa?
StringBuilder is a rational API, but LLMs and people are just going to write `string1 + string2` all over the place, and even a magic compiler can only do so much for that.
StringBuilder is a rational API, but LLMs and people are just going to write `string1 + string2` all over the place, and even a magic compiler can only do so much for that.
A 1/4 the way through the book now.
tinyurl.com/ocpJavaBook
#100DaysOfJava #100DaysOfCode #1Z0-830 #Java
A 1/4 the way through the book now.
tinyurl.com/ocpJavaBook
#100DaysOfJava #100DaysOfCode #1Z0-830 #Java
Master C# string manipulation with this complete guide covering .NET 6-9 APIs, Span, raw literals, StringBuilder, and performance best practices.
Read the article here:
https://bgh.st/tiwqu3
Master C# string manipulation with this complete guide covering .NET 6-9 APIs, Span, raw literals, StringBuilder, and performance best practices.
Read the article here:
https://bgh.st/tiwqu3