Results 166 comments of Ben Sless

Slightly more generalized: ```clojure (defn profile [props step n] (let [component (fx/create-component props) times (long n)] (prof/profile (loop [i 0 component component props props] (when (< i times) (let [props...

@vlaaad please correct me if I'm wrong here: - `advance` is just a sort of postwalk transition - it does work for all components in a tree even if they're...

Started exploring an alternative solution, sketched an initial unrolled version of `reitit.ring/routes`: ```clojure (defn routes' "Create a ring handler by combining several handlers into one." ([handler] (when handler (fn ([request]...

@opqdonut updated the link, the culprit is the call to `routes` here: https://github.com/metosin/reitit/blob/master/modules/reitit-ring/src/reitit/ring.cljc#L337 The implementation is: https://github.com/metosin/reitit/blob/master/modules/reitit-ring/src/reitit/ring.cljc#L107 The proposed unrolled implementation is already faster, but worth considering is just running...

If we update the handlers with `(routes handler default-handler)` for each handler at compile time there is no need for the code change

I found an [official JDK guide regarding this deprecation](https://docs.oracle.com/en/java/javase/19/docs/api/java.base/java/lang/doc-files/threadPrimitiveDeprecation.html). Anything there you could use?

I tried running the benchmarks but results were a bit ambiguous, any way you think I can get higher fidelity results?

Looking at the tests I'm not sure they can even give meaningful results if the symbols are bound in let forms anyway, I'll need to engineer another scenario. How do...

Starting a preliminary patch to add JMH