I just saved 18kB in code size by adding a single pair of {}
. This is getting out of hand. We really need at least a warning for when sablono doesn't know if something is a map of attrs and decides to duplicate kilobytes of code.
@jrychter One of the reasons I developed hicada
@rauh: btw, I'm looking at hicada very closely — I'm hoping I will be able to use it to replace sablono.
Unfortunately, my app is rather large already, and I've become one of the more "stable" adopters at this point.
@jrychter you can hook into Sablono’s compilation defmulti and overwrite default method to not include interpret code at runtime
Well, but that will break lots of things in my code.
Yep, there’s no easy and safe way to get rid of interpretation once you got there
One day I will have to look through all code and carefully annotate those places which do need interpretation — I've been thinking about this in the context of hicada.