This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-10-08
Channels
- # beginners (42)
- # boot (1)
- # cljs-dev (36)
- # clojure (24)
- # clojure-berlin (1)
- # clojure-greece (3)
- # clojure-italy (18)
- # clojure-russia (67)
- # clojure-spec (1)
- # clojure-uk (35)
- # clojurescript (30)
- # cursive (2)
- # data-science (2)
- # datomic (2)
- # emacs (6)
- # fulcro (1)
- # garden (1)
- # hoplon (8)
- # lumo (9)
- # off-topic (47)
- # onyx (6)
- # perun (2)
- # protorepl (5)
- # re-frame (10)
- # reagent (1)
- # shadow-cljs (19)
- # uncomplicate (140)
https://clojuredocs.org/clojure.test/report I think the docstring for this is out, I can't find test_is.clj
@jjttjj seems kind of like redis with rdb, only closer to your app. I would check first if redis/rdb is a better fit. Wouldn't want to reinvent the wheel
I've done the same thing with re-frame, periodically writing to local storage. The performance sucked though.
is it worth considering "let me rewrite this code to cache this math sub expression inside this loop" or should I just think "let the JIT take care of it"
I'd keep things simple first, then if it's not fast enough measure and find out where the bottle neck is - by that point if you need the optimization that means the JIT didn't take care of it, and your next step is either optimize yourself, or convert it to something the JIT can handle
have you tried yourkit?
I still haven't jumped over the mental hurdle of "if it saves me 4 hrs, I should just pay for it"
@qqq around January for the last two years Yourkit have had a sale for a personal license for ~$100
weirdly enough, I'd probably also pay $100 for emacs, but not $400 for emacs, though the value I derive from emacs far exceeds that
is there a clojure builtin which does input: [:a 😛 :c :d] [1 2 3 4} output: [[:a 1] [:b 2] [:c 3] [:d 4]] ?
(partial map vector)
beat me to it