if the input and output are not uincode, then decode and encode cause some overhead, add a choice to turn unicode off could improve the performance a bit.
add a argument in Lookup and Template: ... ,using_unicode = True, ...
when turn off unicode, the compiled module source is saved with the proper charset, and adding
- -*- encoding:charset -*-
in head, escape is not needed.