I’m hitting a performance bottleneck when AOT-compiling my large project with
clojure.tools.build.tasks.compile-clj/compile-clj. I narrowed the problem down to
clojure.tools.build.util.file/copy-contents, it spends about 5 minutes copying my roughly 35k class files from working directory to target/classes.
We don't really need this indirection as we clean our
target folder each time we start the process, we would be fine with compiling directly to
target. Could that be introduced as an option?