diff options
| author | Markus Roberts <Markus@reality.com> | 2010-04-29 14:20:44 -0700 |
|---|---|---|
| committer | test branch <puppet-dev@googlegroups.com> | 2010-02-17 06:50:53 -0800 |
| commit | 088c80148d1fa082ac6f79023739bc268d096bc0 (patch) | |
| tree | 6caf72cc73206ef52de412eaa5865615d5bd4ff7 /lib/puppet/parser/parser.rb | |
| parent | cd06b877cd97edb26551d9c30c399d666603e586 (diff) | |
| download | puppet-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
