1. 5
  1.  

  2. 1

    And it only takes 15 seconds for the answer to appear…

    I suppose this would be more appealing to hardcore lisp lovers, but looking at the problem I could solve this in about five lines of extremely straightforward lua and it would execute instantly.

    1. 2

      You’re confusing the startup time for embedded ClojureScript compiler on the blog page with the actual performance of the library which will execute instantly if you run it using your local runtime. For example, running it on the JVM I get: “Elapsed time: 0.045081 msecs”.

      1. 1

        Clojure intends users to serialize most data in maps, leading to this specific problem.