Extremely slow editing larger scripts (MacOS Sequoia 15.3.2)
MarieOmani Resident
When starting with a new script, the performance is as usual. But when working with a larger script (>200 lines), the editor works extremely slow. It takes more than a second for each letter to appear! It's a real pain to code like this!
Editing the same script in a notecard doesn't show that problem. It works as usual.
Editing the script with the LSL compiler selected also works as usual. The problem only occurs when the Lua compiler is selected.
I'm using Second Life version 7.1.12.14175675593 (7.1.12.14175675593) for Lua.
Log In
SuzannaLinn Resident
I tested this in Windows 10, using the same version of Second Life Project Lua Editor (7.1.12.14175675593).
With "SLua" selected as the "Compiler:" option:
- It goes well up to 200 lines. With 500 lines it takes about 1 second to add one character.
- Copy-paste of 500 lines to the empty editor takes about 5 seconds.
With any of the LSL compiler options selected:
- It goes smoothly with any amount of lines.
- Copy-paste of 500 lines is nearly instantaneous.
Marie and I compared performance, and her macOS viewer takes about twice as long as my Windows viewer, even though her computer is more powerful than mine.
The current workaround is to edit large SLua scripts with the compiler set to LSL, and switch to SLua only when you're ready to save (changing to SLua takes about 5 seconds for a 500-line script).