3 ms·
Aye, 64-bit hotspot with implicit -server switch, but going on your astonishment I took a look and it seems the 0.5s time is only achieved with fsc running from
by bodski 15y ago
Aye, 64-bit hotspot with implicit -server switch, but going on your astonishment I took a look and it seems the 0.5s time is only achieved with fsc running from previous runs of the REPL. So from cold, i.e. no fsc running it takes about 3 seconds. 2.9.0-1 was taking 7-8 seconds to get the REPL prompt regardless of whether fsc was running already, so this is still like night and day for me :-)
Amongst other things it looks like Paul Phillips (a.k.a extempore) has done a lot of optimisation work. This looks like a pretty important one:
https://codereview.scala-lang.org/fisheye/changelog/scala-svn?cs=24909 https://codereview.scala-lang.org/fisheye/changelog/scala-sv...
- technomancy 15y agoOh, ok, so fsc is comparable to just connecting to a nailgun daemon, right? I don't actually know Scala; is there a tl;dr for that link?
- gtani 15y ago(I couldn't find a good summation, maybe there are more substantive m-list threads in internals: http://groups.google.com/group/scala-internals/browse_frm/thread/83e613d5262b036d/ http://groups.google.com/group/scala-internals/browse_frm/th... http://groups.google.com/group/scala-internals/browse_frm/thread/3e78dcbd9f5e63a5/ http://groups.google.com/group/scala-internals/browse_frm/th... http://groups.google.com/group/scala-internals/browse_thread/thread/42eb39852eb32777/ http://groups.google.com/group/scala-internals/browse_thread...