xp-forge/mustache — pull request #2 by thekid (2013-12-28 23:52:46+00:00)
Title: Compiled templates

This pull request adds support for passing previously compiled templates to `render()`. This saves compilation time when applying a template multiple times:

```php
$engine= new MustacheEngine();
$template= $engine->compile($template);

// Later on:
$result1= $engine->render($template, $variables1);
$result2= $engine->render($template, $variables2);
```