Horrible Input Delay While Typing In Big Script, Help?

My module script has 5.4k lines of code in total and it is efficiently compacted in this way. There’s no way I can or will split it up across into different scripts. But the input delay is becoming unbearable. And it gets worse with each line of code I write.

I can feel every key pressed has at least a 0.5s delay.

However, when I type in smaller scripts with a few lines of code there is next to no input delay at all.

Is there a Studio setting that mitigates this horrible delay? What’s causing this?

(I think) “collapsing” all the functions will decrease it when in the script a collapse all button will be in the “toolbar” menu, try that

1 Like