>From http://mustache.github.com/, I only notice clostache, which is a little slow. I have not noticed stencil, if I do, probability, I will not do one myself. It's pretty fast. My implementation seems faster than stencil, in a test run, up to 10x. Test code: https://github.com/shenfeng/mustache.clj/blob/master/test/me/shenfeng/perf_bench.clj It seems stencil is more feature rich than mine. For example, I did not implement "Set Delimiter".
On Wednesday, July 11, 2012 9:45:51 PM UTC+8, Baishampayan Ghose wrote: > > > I did yet another {{mustache}} implementation for Clojure > > > > https://github.com/shenfeng/mustache.clj > > > > I did it because I need a faster one when I am doing Rssminer . And I > dit > > it. > > By the way, Rssminer is yet another RSS reader, but written in Clojure. > > > > Usage: > > > > [me.shenfeng/mustache "0.0.4"] > > > > (:use me.shenfeng.mustache) > > > > (deftemplate template "{{template}}") > > (to-html template {:you-data "data"}) ;; returns String > > > > Let me know if you have any ideas or questions. > > Shen, > > Very nice work. Have you benchmarked your mustache lib with stencil? > It would be an interesting comparison. > > Regards, > BG > > -- > Baishampayan Ghose > b.ghose at gmail.com > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en