Magnus Hagander <magnus(at)hagander(dot)net> writes:> I could assign it to a variable, but won't the compiler just optimize> that away?
Wouldn't count on that, particularly not if you are modifying otherstrings at the same time.
regards, tom lane