![](https://secure.gravatar.com/avatar/d0e94fb08d4620cfbd2f8f59a7868637.jpg?s=120&d=mm&r=g)
19 Mar
2017
19 Mar
'17
10:53 a.m.
On 19.03.2017 16:56, Pablo Rodriguez wrote:
is there any reason not to use the following instead of your way below?
for i = 1,n do tex.print("(" .. vecteurX[i] .. ", " .. vecteurY[i] .. ")\\par") end
I don't think that this is a good approach. Refer to chapter 11.6 of "Programming in Lua" to see why string concatenation is computationally expensive. (It wouldn't matter in this simple case, but it's not a good habit to develop.) All best Thomas