Will doing the following reduce lag and/or reduce cpu usage:
- Disabling blocks
- putting things in backpack
- not constantly being connected to companion/device/simulator?
- Use local vs gobal variables?
- Deleting unused global variables
- Deleting Stray unconnected blocks
- Deleting unused components in designer
I know the standard advice about using less screens and more procedures to reduce blocks. But I want to know other methods too such as the ones I stated above. Any other tips are welcome.
What have you tried?
For me, I’d collapse blocks.
In this case, it will reduce lag if you aren’t connected
I don’t know about other cases
I see. That works in your experience? That is just like putting things in backpack if you don’t use something, no?
No when you collapse some blocks they continue to function but takes less screen space.
Whereas if you put them in backpack and delete from main code, they will be no longer functional.
It works better, before it was like my whole project lag
but not the best
I can confirm that collapsing blocks work. By the same notion, I suspect that putting things in the backpack would work, because there are less graphic elements. As would reducing anything that appears as graphics on the creator site, such as variables and unused blocks. I believe that all lags on the site are graphics based. I don’t know about adding components on the designer though