Having a lot of string building statement, I was asking myself what is the best way to handle that, from a performance and memory handling perspective:
or
both produce the same result, but which one generates the best code and runtime performance?
B4X:
newstring = "constant string" & variablestring
or
B4X:
newstring = $"constant string${variablestring}"$
both produce the same result, but which one generates the best code and runtime performance?