Open Blaisorblade opened 10 years ago
Aaah, figured it out! The worksheet in question contains a line composing almost all mixins for my whole project together.
Moving that line to a method in a separate trait (EDIT: done in inc-lc/ilc-scala@10beab849b5fec3a04b17bea87ed2fa31c147021) makes things much faster — both typing and evaluation of subsequent lines.
It seems more plausible that #112 is involved.
This is most likely a performance problem in the type-checker, and your workaround is a good solution. Another few options:
val v =
. I believe the type-checker builds a complicated refinement type for that val, every time you type
Typing in the worksheet (with Scala-IDE 3.0.3) is painfully slow for me — as in, slower than typing over SSH. It was not like this, but I can't pin down when this changed. Might be related to #112, but I can't really tell.