Skip to content

Instantly share code, notes, and snippets.

@SethTisue
Created June 3, 2011 17:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SethTisue/1006793 to your computer and use it in GitHub Desktop.
Save SethTisue/1006793 to your computer and use it in GitHub Desktop.
Paul Phillips' magic formula for fast REPL startup
Last login: Fri Jun 3 10:53:41 on ttys008
~ % scala/dists/latest/bin/scala -J-client -J-d32 -Dscala.repl.power
Welcome to Scala version 2.10.0.r25048-b20110531064458 (Java HotSpot(TM) Client VM, Java 1.6.0_24).
Type in expressions to have them evaluated.
Type :help for more information.
[info] started at Fri Jun 03 10:56:24 PDT 2011
[info] compiler init time: 1.988 s.
** Power User mode enabled - BEEP BOOP WHIR **
** scala.tools.nsc._ has been imported **
** global._ and definitions._ also imported **
** New vals! Try repl, intp, global, power **
** New cmds! :help to discover them **
** New defs! Type power.<tab> to reveal **
[info] total init time: 4.522 s.
scala>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment