Skip to content

Instantly share code, notes, and snippets.

@gkossakowski
Created November 26, 2018 08:07
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 gkossakowski/5bb2d53b562867726524092457e1c005 to your computer and use it in GitHub Desktop.
Save gkossakowski/5bb2d53b562867726524092457e1c005 to your computer and use it in GitHub Desktop.
Scala vs Java compilation speed experiment
class A1 {
String f1(String x) { return x; }
String f2(String x) { return x; }
.
.
String f100(String x) { return x; }
}
class A1 {
def f1(x: String): String = x
def f2(x: String): String = x
.
.
def f100(x: String): String = x
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment