diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-10-06 03:13:15 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-10-06 03:13:15 +0000 |
commit | 675495cb21c716f325b23b50ac526929bf592f0f (patch) | |
tree | 0ab9e922d46327b832583d158f01b376790f735a /lib/puppet/parser/ast/function.rb | |
parent | ab0141a2e03542902fc0d83d76b55d5e4b8811d0 (diff) | |
download | puppet-675495cb21c716f325b23b50ac526929bf592f0f.tar.gz puppet-675495cb21c716f325b23b50ac526929bf592f0f.tar.xz puppet-675495cb21c716f325b23b50ac526929bf592f0f.zip |
Many, many, many performance improvements in the compiler (I hope). I did not change functionality anywhere, but I did some profiling and significantly reduced the runtime of many methods, and especially focused on some key methods that run many times.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1739 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/parser/ast/function.rb')
-rw-r--r-- | lib/puppet/parser/ast/function.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet/parser/ast/function.rb b/lib/puppet/parser/ast/function.rb index f67531ae3..6729431b7 100644 --- a/lib/puppet/parser/ast/function.rb +++ b/lib/puppet/parser/ast/function.rb @@ -3,6 +3,8 @@ class Puppet::Parser::AST class Function < AST::Branch attr_accessor :name, :arguments + @settor = true + def evaluate(hash) # We don't need to evaluate the name, because it's plaintext |