Project

General

Profile

Refactor #7992

SafeRender slowes down enc when parsing array parameters with many values

Added by Ori Rabin over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Parameters
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

enc calls 'value_of_key' which uses safe render parse for each smart class parameter/variable value that matches a host.
For a parameter of type array the parsing goes over each member of the array to parse them.
Arrays with many values cause a slower response for enc.
This can be avoided by adding an option to decide if a value of a smart variable should be parsed or not.

Also available in: Atom PDF