HomePhorge

Implement Symbol#intern when it is missing.
c0e5f4df37deUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Implement Symbol#intern when it is missing.

In order to reduce use of Puppet::Util#symbolize in the code - which is
called some 90,000 times in a real-world run - being able to intern a symbol
is convenient.

This is a simple implementation: it just returns itself.

Signed-off-by: Daniel Pittman <daniel@puppetlabs.com>

Details

Provenance
Daniel Pittman <daniel@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPU2c679f037e05: Merge branch 'bug/2.7.x/2888_fix_puppetdlock_deadlock' into 2.7.x
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPUc0e5f4df37de: Implement Symbol#intern when it is missing. (authored by Daniel Pittman <daniel@puppetlabs.com>).Sep 18 2012, 12:12 AM