StringBuilders.jl is a very small package that provides a convenient API for building up strings, similar to what you have in .Net and lots of other languages.
This package is mainly an API exploration. You can get more or less the same functionality by creating an
IOBuffer, writing to that and at the end taking the buffer and converting it into a
String. But at least I can never remember all the details of that for more than one day, and then have to google things. So, this is an attempt to provide a more streamlined API for the same use case. Any feedback would be welcome!
I don’t think I will do anything beyond what is there with this package. But it might be interesting to play around with different implementations of a
StringBuilder and benchmark them against each other. This article has an interesting discussion how the implementation in .Net was changed over time. If anyone wants to experiment with those kind of things, please open an issue over in the package so that we can briefly discuss a good strategy for inclusion of experiments like that.