summaryrefslogtreecommitdiffstats
path: root/examples/code/snippets
diff options
context:
space:
mode:
authorMatt Robinson <matt@puppetlabs.com>2011-05-26 14:36:19 -0700
committerMatt Robinson <matt@puppetlabs.com>2011-05-26 16:08:32 -0700
commit9447cb957b8c01ba7d368baebc1061c3dbfc9399 (patch)
tree1212d47b7b4a0bf1ccf108a109fb9a96674a9950 /examples/code/snippets
parent149a12f882252150ef9d642c6cf0345306f772ee (diff)
downloadpuppet-9447cb957b8c01ba7d368baebc1061c3dbfc9399.tar.gz
puppet-9447cb957b8c01ba7d368baebc1061c3dbfc9399.tar.xz
puppet-9447cb957b8c01ba7d368baebc1061c3dbfc9399.zip
maint: Dedup the loadpath so we don't have to walk it multiple times
If the user's path has duplicate entries, we end up looking at them multiple times. This has bitten people in the past in that if you get a lot of duplication it can make autloading a lot slower. Really the user shouldn't be duplicating their path, but since we can't control that, this is a safe fix to prevent them from having autoload slowness. Paired-with: Max Martin <max@puppetlabs.com>
Diffstat (limited to 'examples/code/snippets')
0 files changed, 0 insertions, 0 deletions