Fork me on GitHub
#rum
<
2018-03-06
>
jrychter10:03:26

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.

rauh11:03:36

@jrychter One of the reasons I developed hicada

jrychter11:03:32

@rauh: btw, I'm looking at hicada very closely — I'm hoping I will be able to use it to replace sablono.

jrychter11:03:12

Unfortunately, my app is rather large already, and I've become one of the more "stable" adopters at this point.

Roman Liutikov13:03:56

@jrychter you can hook into Sablono’s compilation defmulti and overwrite default method to not include interpret code at runtime

jrychter13:03:41

Well, but that will break lots of things in my code.

Roman Liutikov13:03:49

Yep, there’s no easy and safe way to get rid of interpretation once you got there

jrychter13:03:59

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.