bobthecow/mustache.php — pull request #171 by randlem (2013-10-25 21:59:13+00:00)
Title: Performance tweaks

While integrating Mustache templates into an existing system, I found a couple of micro-optimizations in this library that could, under some circumstances, drastically increase rendering performance. Switching `array_key_exists()` calls to their `isset()` equivalents has a simple-case speedup of about 30%. For large templates with deep contexts, this can result in considerable, measurable time savings.