What is the purpose of the __arkscript__ directory? I did not see any references to this in the documentation (that I've read so far). #636
-
|
Hi; What is the purpose of the arkscript directory? I did not see any references to this in the documentation (that I've read so far). Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi! I can't remember where I talked about that folder, maybe the documentation got removed I'll have to check ; compiled byte code is stored there, and the folder is created in the same folder as the script being executed. This way when the script is run again, the saved bytecode is used to avoid compiling again. It can gitignored, or can be shared instead of the source code, so that people only run the bytecode. |
Beta Was this translation helpful? Give feedback.
Hi!
I can't remember where I talked about that folder, maybe the documentation got removed I'll have to check ; compiled byte code is stored there, and the folder is created in the same folder as the script being executed.
This way when the script is run again, the saved bytecode is used to avoid compiling again.
It can gitignored, or can be shared instead of the source code, so that people only run the bytecode.