HomePhorge

Implement Symbol#intern when it is missing.
2a07bdedf31aUnpublished

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
rPU6e6b8d7e3f40: Merge remote-tracking branch 'upstream/3.0rc' into 3.x
Branches
Unknown
Tags
Unknown

Event Timeline

Daniel Pittman <daniel@puppetlabs.com> committed rPU2a07bdedf31a: Implement Symbol#intern when it is missing. (authored by Daniel Pittman <daniel@puppetlabs.com>).Jul 13 2012, 10:19 PM