Your first question has been answered, so regarding the second one I guess what you want is to decrease the booting time cause you usually load some namespaces that are being changed as you code. It's possible to reload code from a modified namespace without exiting the REPL with (use 'your.namespace :reload)
. This way you might boot just once and reload the updated namespaces
user=> (doc require)
...
:reload forces loading of all the identified libs even if they are already loaded
:reload-all implies :reload and also forces loading of all libs that the identified libs directly or indirectly load via require or use
...
In the other hand if you read the output of lein help repl
you will see how setup a REPL server and client that might reduce your booting time
java -cp clojure-1.6.0.jar clojure.main
, it starts relatively fast. So it's not due to the JVM startup time. – Rigglelein repl
takes about twice as long to start. – Akron