On Thu, Feb 21, 2019 at 2:28 AM Didier <didi...@gmail.com> wrote: > Hum, is there some advantage to using this over just normal `clj -e`? >
It's intended more for shell scripting remote control of an *existing* Clojure process and editor/REPL integration for editors that lean on the POSIX shell. It's a Graal native-image, which improves boot time considerably, which is important for editor responsiveness: [jfelice@C02X421DJHD4 src]$ time for ((i = 0; i < 100; i++)); do rep '(+ 2 2)' >/dev/null; done real 0m2.323s user 0m0.875s sys 0m0.872s [jfelice@C02X421DJHD4 src]$ time for ((i = 0; i < 100; i++)); do clj -e '(+ 2 2)' >/dev/null; done real 1m32.994s user 2m37.918s sys 0m14.129s [jfelice@C02X421DJHD4 src]$ -Jason -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.