summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/parser.rb
diff options
context:
space:
mode:
authorMarkus Roberts <Markus@reality.com>2010-04-29 14:20:44 -0700
committertest branch <puppet-dev@googlegroups.com>2010-02-17 06:50:53 -0800
commit088c80148d1fa082ac6f79023739bc268d096bc0 (patch)
tree6caf72cc73206ef52de412eaa5865615d5bd4ff7 /lib/puppet/parser/parser.rb
parentcd06b877cd97edb26551d9c30c399d666603e586 (diff)
downloadpuppet-088c80148d1fa082ac6f79023739bc268d096bc0.tar.gz
puppet-088c80148d1fa082ac6f79023739bc268d096bc0.tar.xz
puppet-088c80148d1fa082ac6f79023739bc268d096bc0.zip
Fix for #3558 -- source file reading speedup
It's about 10x faster to read the whole file than to read each line and concatenate them (actually, it's O(n) vs. O(n^2), so the exact speedup depends on the file size).
Diffstat (limited to 'lib/puppet/parser/parser.rb')
0 files changed, 0 insertions, 0 deletions