summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/ant/Scalac.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-01-19 03:15:07 +0000
committerPaul Phillips <paulp@improving.org>2010-01-19 03:15:07 +0000
commit41e80159b37d8a07922fb90d516b9105f2f185b7 (patch)
tree98db148b7e9cb61f54d483e0b61430bdbb9b6141 /src/compiler/scala/tools/ant/Scalac.scala
parent135d4f06b174aa585af64b5253aba647982ac4a2 (diff)
downloadscala-41e80159b37d8a07922fb90d516b9105f2f185b7.tar.gz
scala-41e80159b37d8a07922fb90d516b9105f2f185b7.tar.bz2
scala-41e80159b37d8a07922fb90d516b9105f2f185b7.zip
Digging into why the repl is so slow, discovere...
Digging into why the repl is so slow, discovered that fsc is once again never reusing compiler instances (but for a different reason than #1683.) Small changes break equality and the little troopers are so darn quiet about it. Steady state, hot fsc repl startup times before this patch: 0m1.747s 0m1.789s 0m1.842s 0m1.690s After this patch: 0m1.139s 0m1.148s 0m1.090s 0m1.091s No review. Could use a test case but I have trouble coaxing partest this far outside the box.
Diffstat (limited to 'src/compiler/scala/tools/ant/Scalac.scala')
-rw-r--r--src/compiler/scala/tools/ant/Scalac.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/ant/Scalac.scala b/src/compiler/scala/tools/ant/Scalac.scala
index 8bd5444ee3..1b96a47420 100644
--- a/src/compiler/scala/tools/ant/Scalac.scala
+++ b/src/compiler/scala/tools/ant/Scalac.scala
@@ -616,7 +616,7 @@ class Scalac extends MatchingTask {
val out = new PrintWriter(new BufferedWriter(new FileWriter(file)))
try {
- for (setting <- settings.allSettings ; arg <- setting.unparse)
+ for (setting <- settings.settingSet ; arg <- setting.unparse)
out println escapeArgument(arg)
for (file <- sourceFiles)
out println file.getAbsolutePath