Olivine-Labs/lustache — pull request #4 by fur-q (2012-09-16 10:21:17+00:00)
Title: Refactoring, optimisation and bugfixes

* Totally refactored, split into modules, filthy globals removed
* Localised standard library functions, removed them where practical
* Minor optimisations to a few functions
* Updated README and specs to reflect slightly changed API (lustache.render() -> lustache:render() etc)
* Fixed compile_tokens; closes #2

All specs pass, and a quick and dirty benchmark shows a ~60% speed improvement (3.6 vs 5.8 seconds for 1000 passes of lustache:render() on stock Lua 5.1.5).