Ben Gubler

Results 164 comments of Ben Gubler

@bd82 I don't think so, because I want to find a way to have some things (like building the RegExp) happen before runtime. It would be great if there was...

Thanks @tjvr, that's pretty nifty! I agree the code would probably not be clean enough to merge, but I really like the idea of separate runtime structures.

Hi @tvjr! I'm considering using Moo to build a template engine, and wondered if you considered moving the runtime structure outside of the main `moo.js`?

Also, I've recently been digging into the source code. Could you explain what `fast` is?

@nathan thanks! I seem to remember once running a benchmark that showed that `str[0]` actually ended up being faster than `str.charCodeAt(0)`. Is there a reason why `charCodeAt` was chosen?

@chocolateboy did your thumbs down mean you didn't approve of `str.charCodeAt`, or you didn't like my comment?

This has been resolved in Squirrelly 9.0.0

@cdtut Eta is actively maintained and targeted towards minimalist embedded JS templating. Squirrelly is for more complex templating with helpers, filters etc.

I think this is a fantastic idea and would like to implement it in Eta version 2.