News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Eval template system

Started by Charlie82, June 06, 2009, 11:29:17 AM

Previous topic - Next topic

Charlie82

REPLACE INTO smf_settings
   (variable, value)
VALUES ('disableTemplateEval', '1');


I think it should be disabled by default or at least give an option in admin area to disable it for best performance.

Regards.

青山 素子

Why? Also, can you provide some test numbers showing the speed difference?
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


karlbenson

This is probably cos I mentioned it in the other topic.
Evals slowness is well known.
http://uk2.php.net/manual/en/function.eval.php#82239

青山 素子

What kind of realistic speed change are we looking at with SMF? I don't think we're working on the level of 100 million eval calls. Also, does the file cache in 2.0 have an effect on the speed of this operation and if so, how big of an effect?
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


Advertisement: