I think doing it with String.build is simpler to understand, even though it consumes a bit more memory. As you mention, that’s generally not the bottleneck.
If I have time this week I’ll try to implement it.
I think doing it with String.build is simpler to understand, even though it consumes a bit more memory. As you mention, that’s generally not the bottleneck.
If I have time this week I’ll try to implement it.