Those functions do a `snprintf` to a temporary buffer and copy that to the result. Instead the buffer of the resulting static_string could be used directly