metosin / sieppari

Small, fast, and complete interceptor library for Clojure/Script
Eclipse Public License 2.0
207 stars 21 forks source link

Remove automatic support for 3rd party async libs #17

Closed ikitommi closed 5 years ago

ikitommi commented 5 years ago

It takes whopping 4-5sec to load the sieppari.core if there are all the async libs on the classpath. Rough load times from async support:

Client-side aot cache on libs would solve this, but might not be solved any time soon: https://clojureverse.org/t/deploying-aot-compiled-libraries/2545/13

Also, don't think it's a default need to want to use multiple async libs in a same app, so instead, the async-support could be explicit, e.g. use has to load the support ns by her/himself.

nilern commented 5 years ago

Working on this.