Ambrose Bonnaire-Sergeant
Ambrose Bonnaire-Sergeant
I use this library at work, I can be a maintainer. I have a few PR's open here with fixes. I also know that [I don't know a lot about...
@dm3 thanks, please also add https://clojars.org/users/frenchy64 to the https://clojars.org/clojure.java-time group so I can deploy.
It doesn't look like @dm3 is monitoring this repo, I might deploy it somewhere else.
This happens due to the implementation of `java.sql.Time/valueOf`: https://github.com/openjdk/jdk/blob/eeb345a286115213f8a75dfe54cdcc39dfca597a/src/java.sql/share/classes/java/sql/Time.java#L252-L255
The implementation is now loaded asynchronously, with about 200ms serialized overhead on my machine. Perhaps in real-world conditions (where you're waiting for other files to compile) this might eliminate a...
A few more optimizations gives about 400ms speedup for serialized load on my machine: ```clojure $ git checkout 0.3.3 $ lein repl user=> (time ((requiring-resolve 'java-time/instant))) "Elapsed time: 1435.617784 msecs"...
As of https://github.com/dm3/clojure.java-time/commit/b758f729ee6d03068c4e5fb295b11fe847bfc214 (compared to 0.3.3): `(time (require 'java-time))` speedup from: - 500ms => 35ms (M1) - 1200ms => 65ms (Intel) `(time ((requiring-resolve 'java-time/instant)))` speedup from: - 530ms => 410ms...
Reverted the approach: https://github.com/dm3/clojure.java-time/commit/13256eff0dfcac0ebe37bf75d19988e060acd152
@arthuredelstein can we draw arrows over the code window ATM with clooj? This is an awesome feature.
Disclosure: I'm not a malli user, but I do static analysis on malli syntax. I'm not a big fan of this feature (equating the pointer identity of `@#'int?` with `:int`)....