You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
eval prevents its entire containing function from being optimized, not to mention that pretty much every linter and Javascript guide out there doesn't recommend it.
The plan is to switch everything to math.eval instead, which despite its name does not seem to call eval internally. This will also speed up the graphing process even more since it'll allow the addBSP and addSolidWithoutHoles functions to be optimized.
This is considerably trickier than the previous switch because the eval'd code contains actual Javascript code and not just math like the equations and bounds.
The text was updated successfully, but these errors were encountered:
eval
prevents its entire containing function from being optimized, not to mention that pretty much every linter and Javascript guide out there doesn't recommend it.The plan is to switch everything to
math.eval
instead, which despite its name does not seem to calleval
internally. This will also speed up the graphing process even more since it'll allow theaddBSP
andaddSolidWithoutHoles
functions to be optimized.This is considerably trickier than the previous switch because the eval'd code contains actual Javascript code and not just math like the equations and bounds.
The text was updated successfully, but these errors were encountered: