str="abc"
str*="def"
Is the new string "def" just be appended after the memory space of "abc", 
or both strings were copied to a new momory space? Is str=str*"def" equal 
to str*="def" in speed and memory level? Is below code O(n) or O(n^2)?

s=""
for i=1:10000

end

Reply via email to