C++ SCHX ยท rev 4
RC Blocks Studio guide ยท Beginner+

Keeping large block projects fast

The catalog can contain thousands of block variants, but the palette should only render the current category/search result window instead of thousands of DOM nodes at once.

12 minreading time
Beginner+difficulty
MODU docssource
SCHX nativeruntime
SCHX / FEATURE LAYER

The editor already avoids rendering everything

The catalog can contain thousands of block variants, but the palette should only render the current category/search result window instead of thousands of DOM nodes at once.

SCHX / FEATURE LAYER

Drag performance

Whole-stack coordinates are committed on release instead of sending a project update for every mouse pixel. This keeps visual dragging responsive.

SCHX / FEATURE LAYER

Game performance

Forever and every-frame scripts can run very often. Keep expensive network calls, large DOM creation and heavy work out of per-frame paths unless you truly need them.

SCHX / FEATURE LAYER

Prefer events over polling

When possible, react to a key/click/message/timer event instead of checking the same condition in many independent every-frame scripts.

blocksevery frame
when key pressed
when I receive message
SCHX / FEATURE LAYER

Related guides