cljs-dev 2025-08-05

:lite-mode can run cljs.test now - new flag since dropping .toString implementations is problem depending on what you're doing, :elide-to-string

(->> (map inc (range 10)) (filter even?) (partition 2) (drop 1))) is 6K brotli :lite-mode true :elide-to-string true

did you try :elide-to-string without :lite-mode? curious how much thats worth

it seems to save about 10K by itself (before compression)

you do have to be careful w/ :elide-to-string cljs.test doesn't work w/o it

well it works, but it's output is not useful 🙂

hehe, yeah just curious how much of a difference it makes. would have guessed more than 10k but I guess its just a bunch of reused functions, so not that much overall

(println (merge {:foo 1} {:bar 2})) which is kind of worse case, is 9K brotli w/ the same flags

if you drop println 7K

so :elide-to-string has the benefit of pay for what you use wrt. printing