puppetlabs/puppet — pull request #931 by daniel-pittman (2012-07-13 22:58:39+00:00)
Title: symbolize is costly compared to intern

The `Puppet::Util.symbolize` API is odd, and not really very good. It allows arbitrary data types to be passed, and only transforms some of them. Directly using `intern` is a much better API.

This implements the change for performance, and then follows up with cleaning the entire API out and deleting it.