Brother, anyone would notice lag, that’s just how Studio works when trying to compute what is and isn’t supposed to be hidden.
The code behind it just isn’t that good, it tries to compute the ideal indentations but even a task like this which is supposed to be basic is broken.
Try to use the “automatic indentation” function on this simple table:
local T={ a={2,5},
b=1,
c=2,
d={1,5},
}
for some weird reason, that entire table would have no indentations, why? because the script “thinks” that, since it has a table value written on the same line as the the original T table is, it overwrites the indentation characteristic of a table, even when it knows the table value is a table which closes on the same exact line.
replace that a={2,5}, for a non-table value and it would have no problems with indentation detection.
now, how would an programming engine that does this NOT be inefficient with calculating LUA’s formatting, specially when it tries to do something like this all the time?
Get 10k lines of tables and values, play around with it, then use the “close all” function and play around with it again, there’s no way you won’t feel a world of difference, and i say that with a very good setup.