Performance Improvements

Significant improvements to the runtime of core XPath and XForms functions (path resolution, template contextualization, etc).
Is this really equals(locales, locales), not equals(locales, l.locales)? That's super-counter-intuitive.