HomePhorge

(maint) Optimize adding tags
0412515e2f9dUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(maint) Optimize adding tags

Resources add a lot of tags and so streamlining that ends up with a
overall savings for catalog compilation. This removes an extra call to
collect, removes several method calls, and relies on the fact that the
@tags object is a set and so we don't need to check for the tag already
being there.

Details

Provenance
Andrew Parker <andy@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU0b6446006136: (PUP-751) Check for reparse once per compile
Branches
Unknown
Tags
Unknown

Event Timeline

Andrew Parker <andy@puppetlabs.com> committed rPU0412515e2f9d: (maint) Optimize adding tags (authored by Andrew Parker <andy@puppetlabs.com>).Feb 14 2014, 9:24 PM