naholyr/ender-swig — comment on commit eb301985cf85b635a580b3daf2a3eec16bdc2ab5
File: ender.js line 11
By naholyr:

Yes, this is only because I wanted to cache the additional work I do here (parsing for `extends` blocks and compiling corresponding templates).
By the way, it should be done for `include` too.

Not sure the cache here is required anyway, it's just a matter of "executing regular expression" versus "another hash in memory".