Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4

This page gives a few hints at writing KRL code that executes faster. Not all of them may be esthetically pleasing and thus you may chose to ignore them, sacrificing speed for code readability.

 

  • Avoid beestings. The code within a beesting has to be parsed. A string concatenation is faster.
  • Turn logging off. Logging takes time to perform and increases the size of the payload significantly. 
  • Ensure your module is cachable. This is a biggie because loading modules on the fly takes a lot of time. Read the module docs to find out what makes a module cachable. 
  • No labels