aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/pickling/NameBuffer.scala
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-04-30 15:07:52 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-04-30 15:07:52 +0200
commit10d05f34a8c3f006c6a0aabed04c47cb7566cc46 (patch)
tree369d714ee484e38c5a6709dfcfe3d3ee5bed6ca7 /src/dotty/tools/dotc/core/pickling/NameBuffer.scala
parentc4b61af8b20dd9f763ffa34e27625e3ffd966f5c (diff)
downloaddotty-10d05f34a8c3f006c6a0aabed04c47cb7566cc46.tar.gz
dotty-10d05f34a8c3f006c6a0aabed04c47cb7566cc46.tar.bz2
dotty-10d05f34a8c3f006c6a0aabed04c47cb7566cc46.zip
Decrease default sizes of buffers.
Values are the ones that I got as maximum values for compiling dotty itself.
Diffstat (limited to 'src/dotty/tools/dotc/core/pickling/NameBuffer.scala')
-rw-r--r--src/dotty/tools/dotc/core/pickling/NameBuffer.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/pickling/NameBuffer.scala b/src/dotty/tools/dotc/core/pickling/NameBuffer.scala
index 2a6239c5a..7ea94089f 100644
--- a/src/dotty/tools/dotc/core/pickling/NameBuffer.scala
+++ b/src/dotty/tools/dotc/core/pickling/NameBuffer.scala
@@ -11,7 +11,7 @@ import scala.io.Codec
import TastyName._
import PickleFormat._
-class NameBuffer extends TastyBuffer(100000) {
+class NameBuffer extends TastyBuffer(10000) {
private val nameRefs = new mutable.LinkedHashMap[TastyName, NameRef]