In terms of execution speed, they all compile with the same byte code, so they must be identical.
In terms of the number of characters entered (excluding line breaks / tabs):
e.g. 1: 64
e.g. 2: 100
e.g. 3: 129
If you are using Adobe CF9, go with option 1. This is much more concise. Currently, you can do everything in <cfscript> .
If you want to check the compiled bytecode for each, enable saving .class files in your cf-admin and view the files in the / Classes directory using the decompiler. eg. Jd-gui
source share