For big XSLTs (>50000 templates) this results in a huge improvement of the compilation time. Thanks to Christian Ceelen for the original patch. Fixes GitHub pull request #1