Enlive has to reconstruct HTML from its data structures. This, on
the other hand, mostly just prints already "rendered" strings, and
calls any clojure functions/macros along the way.
Most CL/Clojure HTML output systems, like clj-html or CL-WHO, produce
optimal output by processing the macro input. See
http://weitz.de/cl-who/
for a description. This is one of the reasons to use macros: you can
do a huge amount of work once, at compile-time, leaving the runtime
with less to do.
Templating does not require eval.
--
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