add an application setting to disable searching query resultsets for unscoped variables

Description

when enabled (by default it is) every unscoped variable lookup has potential overhead looking for the variable in query result sets
https://github.com/lucee/Lucee/blob/5.3/core/src/main/java/lucee/runtime/type/scope/UndefinedImpl.java#L198

something like this.searchQueryScope = false;

https://docs.lucee.org/reference/tags/application.html#attribute-scopecascading

Activity

Show:
Zac Spitzer
July 28, 2020, 7:07 PM

Implicid isn’t a word in English, it’s Implicit

Zac Spitzer
July 29, 2020, 6:55 PM

The following application.cfc settings are now supported

this.searchQueries=false

or

this.searchResults=false

Zac Spitzer
July 29, 2020, 8:42 PM

this setting is missing from the server export page

Michael Offner
August 3, 2020, 6:38 PM

added

Fixed

Assignee

Unassigned

Reporter

Zac Spitzer

Labels

Sprint

5.3.8 Sprint 3

Fix versions

Affects versions

Priority

New