some minor performance improvements
doccoed mustache_core