Javascript performance issue

 From:  Max Smirnov (SMIRNOV)
6440.5 In reply to 6440.3 
Brian, thank you.
Sometimes I used this trick before, but I never thought about performance differences.

P.S. And thank you for your scripts! :)
I used Harmonic Trefoil script in this test.

EDITED: 7 Mar 2022 by SMIRNOV