Issue #2917 has been updated by Markus Roberts. Status changed from Investigating to Rejected
Since ruby doesn't re-read files after the first invocation of require this doesn't make a noticeable difference in the run time (less than 0.00001 seconds per call). ---------------------------------------- Bug #2917: performance improvement for puppet/util/checksums.rb http://projects.reductivelabs.com/issues/2917 Author: Ward Vandewege Status: Rejected Priority: Normal Assigned to: Markus Roberts Category: fileserving Target version: 0.25.2 Affected version: 0.25.1 Keywords: Branch: The attached patch moves the require digest/md5 and digest/sha1 lines out from the functions to the top of the file so they get executed only once; when a checksum has to be done on a lot of files that speeds up execution a bit. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
