tonyaldon · 2022-11-11 09:05
pwnedary · 2022-11-11 10:30
Hmm I think this would be one of the very few instances where a macro would fit well. At least for the top-level output
(jack-html `(:p ,(concat "foo-" "bar")))
could compile to just `(concat "<p>" (concat "foo-" "bar") "</p>")` (plus HTML entity encoding of course). Then not as much work would have to go into optimizing the renderer for good runtime performance.
tonyaldon · 2022-11-12 05:32
Thanks for your comment.I don't understand well enough macros to benefit from using them in that case. But I keep it in mind for later improvement.