HomePhorge

(maint) Remove unused/inefficient code
dd555f44ed62Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(maint) Remove unused/inefficient code

The optional_parameter_count method isn't used anymore, the signature
calculates that as it figures out the signatures. There were also a few
places that used slightly inefficent means of doing things. Using a proc
reference instead of a block is much faster. It also removes some
garbage creation that isn't needed during the type signature
calculation.

Details

Provenance
Andrew Parker <andy@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUbb6d6dee61b7: (PUP-514) Extract method to match args with parameters
Branches
Unknown
Tags
Unknown

Event Timeline

Andrew Parker <andy@puppetlabs.com> committed rPUdd555f44ed62: (maint) Remove unused/inefficient code (authored by Andrew Parker <andy@puppetlabs.com>).Jun 12 2014, 11:46 PM