<?xml version="1.0" encoding="windows-1252"?>
<node id="971183" title="Re: Very simple rules implementation" created="2012-05-17 18:14:14" updated="2012-05-17 18:14:14">
<type id="11">
note</type>
<author id="888573">
Eliya</author>
<data>
<field name="doctext">
&lt;p&gt; As for &lt;c&gt;eval&lt;/c&gt; slowing down your system, don't worry &amp;#8212; unless you're eval'ing those config snippets millions of times... (on my system, the given piece of code wrapped in a sub can be eval'ed and executed roughly 50000 times per second). &lt;/p&gt;
&lt;p&gt; The security worries, OTOH, are justified, presuming you can't trust your users, and the code isn't being run under their own user ID anyway (in which case I wouldn't worry too much...) &amp;nbsp; You might want to look into [mod://Safe] to restrict the opcodes that can be used. &lt;/p&gt; </field>
<field name="root_node">
971181</field>
<field name="parent_node">
971181</field>
</data>
</node>
