tullaCC

tullaCC

198k Downloads

string.format vs SetFormattedText

nirp opened this issue ยท 1 comments

commented

It's probably better in terms of garbage generation to return 3 parameters from getTimeText the first being the format string, and later use SetFormattedText. Since SetFormattedText is coded in C and isn't subject to lua garbage collection issue which string.format is.

commented

Yep, I'll implement it :)