3. Pre-hashing your hashes
If you are using hashes often in many places, you can optimize some by pre-hashing once, rather than to run hash on strings over and over as your scripts run. Doing this is easy and a good practice.

4. Defold render script
By default, Defold renders different parts of your game separately. As it renders the parts, you have the opportunity to manipulate each layer. This is controlled in the .render_script. Though Defold is optimized for 2D games, it is possible to make 3D games and to use 3D effects as well.

5. Dynamically loading and running Lua script with Defold
If for some reason (such as NPC dialog and movement scripting) you need to load scripts dynamically, then there are some special considerations required due of the way Defold bundles files.