It doesn't only help speed, there's the chance it doesn't affect speed at all.
You are missing the point again. The point is that it does not hurt speed. There you are just nitpicking about grammar.
You are talking about the average case, but the average case is not just (best case + worst case) / 2.
I never said it was. In fact, I specifically said the average case memory usage for this improvement would be greater than 1.5 times the current memory usage for text strings.
You have to consider what cases are possible and what the likelihood is of each one occurring.
Obviously, based on all of my real arguments, I have done exactly this. I think you need to consider what cases are possible and what the likelihood is of each one occurring. It is in favor of my suggestion.
Because most cases are handled efficiently there will often be no benefit. There will always be increased memory usage. Even without a workaround you'd have a hard time justifying this change.
No, actually doing it exactly as I showed and not optimizing any past that would not require any hard time justifying the change. What I have said already justifies it. On the other hand, you would need to try hard to justify leaving things the way they are.
And, as I said, I was merely giving a simple example, and there are further optimizations you can do on top of that (some of them very trivial) to make the outcome even better. Left alone, it is already better than the current system. Optimized, it could be strictly better than the current system.
There is not really any argument here. Any competent developer can see the superiority, and it is not a question of if it should be done, rather it is a question of when. The only reason to not do it at all is if you assign a low enough priority to the change that it is on the list but just never gets done. THAT would be a good argument for not doing it, the fact that there might be more important things to do instead.
But, other Byond updates aside and time-management aside, if it is just a question as to whether it is a good idea to optimize or not, there really is no question as to whether it is a good idea.
This is not true. It doesn't only help speed, there's the chance it doesn't affect speed at all.
In my previous comment I mentioned that BYOND often handles concatenations efficiently. You are talking about the average case, but the average case is not just (best case + worst case) / 2. You have to consider what cases are possible and what the likelihood is of each one occurring.
Because most cases are handled efficiently there will often be no benefit. There will always be increased memory usage. Even without a workaround you'd have a hard time justifying this change.