HomePhorge

(maint) Reduce resource lookup
e1e446f35542Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(maint) Reduce resource lookup

scope.resource was called multiple times. Even if this is a simple
method, it is still a method call and is slower than just holding onto
the result. This also removes some comments that appear to be out of
date.

Details

Provenance
Andrew Parker <andy@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUbe990a2f9586: (PUP-1597) Separate different modes of including
Branches
Unknown
Tags
Unknown

Event Timeline

Andrew Parker <andy@puppetlabs.com> committed rPUe1e446f35542: (maint) Reduce resource lookup (authored by Andrew Parker <andy@puppetlabs.com>).May 12 2014, 7:53 PM