Do .jsxbin files run faster than .jsx ?

  • 2
  • Question
  • Updated 1 year ago
ExtendScript Toolkit has a File > Export as Binary command, that generates a .jsxbin file from a .jsx file. Are "binary scripts" faster, or offer any advantage besides "hiding" the source code?
Photo of Daniel Serodio

Daniel Serodio

  • 2 Posts
  • 0 Reply Likes

Posted 6 years ago

  • 2
Photo of Aidan Fraser

Aidan Fraser

  • 1 Post
  • 0 Reply Likes
It's not a "compiled" version of javascript, it's just a mangling of the source, so it should be the same speed to run. Ironically, if anything, there will be a (tiny) delay while the app un-mangles the bin into a form that can be run by the javascript interpreter.
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 13977 Posts
  • 1670 Reply Likes
They should run at the same speed.