britzl / gooey

Defold GUI system
MIT License
150 stars 22 forks source link

Improved input overflow efficiency #77

Closed wistpotion closed 2 years ago

wistpotion commented 2 years ago

Rewrote an inefficient piece of code to be a little faster. The loops usually runs once each compared to the old code where one letters was removed at a time until the text fit. The new code is a little more complex, but it should save a little in performance. This performance boost doesn't really matter, but I didn't have anything better to do.