Please forgive me if I am asking question that already been answered, but why it Scala REPL so slow. Is there something that one has to do to make it a bit faster, some settings perhaps that I am missing? Even executing 2 + 3
takes visible time to print out simple answer 5.
For me only the first evaluation is a bit slow. I think that’s because the scala compiler classes have to be loaded into the JVM the first time. For all subsequent evaluations I can’t say that there’s noticeable lag.