Join Slack
Communities
Powered by
the overwhelming majority of the execution time of...
# suitescript
j
jkabot
02/05/2019, 4:16 PM
the overwhelming majority of the execution time of your scripts is database i/o, i.e. loading / searching / saving records also it's worth noting that when executing your scripts, anything declared with
var
effectively gets moved to the top of the surrounding function, even if it's inside a conditional see
https://developer.mozilla.org/en-US/docs/Glossary/Hoisting
👍 2
1000 1
Open in Slack
Previous
Next