Olivine-Labs/lustache — pull request #5 by fur-q (2012-09-17 08:15:46+00:00)
Title: Refactoring, optimisation, 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 10000 passes of lustache:render() on stock Lua 5.1.5).

(ignore the previous request, I branched/rebased to make it easier to track code changes)