Skip to main content
Discovery icon for Retro Dev Discord server

Retro Dev

7,601 Online
44,248 Members
# retro-chat4 people

equation vs code blocks

Equation functionality is 4x slower than code blocks, likely due to feature complexity, and could benefit from compilation or optimization into block code.

  • An "equation" feature, despite having many features, runs 4x slower compared to standard "code blocks" for the same function, even when testing with identical function calls within a table.
  • The performance difference might be due to equations being interpreted differently, rather than being cached or compiled into more efficient "mini blockcode scripts."
  • The "equation" acts more like an evaluation block for an unknown on the left-hand side rather than a true equation solver, with commands having a specific format (e.g., `Subtract(a, b)` syntax) instead of being called with a standard execution function.
  • Despite the slowness, one player managed to improve FPS by consolidating multiple 'solve equation' functions into one, gaining 3+ FPS from a base of 32 FPS.
Summarized from recent messages, might be inaccurate

More conversations

Talk, Play, &
Hang Out

Find your space to hang out, discuss the latest updates with the party chat, and see who's down to join your next match.
Get App