puppetlabs/puppet — pull request #915 by daniel-pittman (2012-07-11 00:03:26+00:00)
Title: pref: symbolize is costly compared to intern

The symbolize method is surprisingly expensive, compared to just calling intern on the object - about 50 percent higher, in my testing, and something that happens ~ 90,000 times in my sample run.

This only saves 0.15 seconds in my test, but is super-cheap to change, so we may as well.