scala/scala — pull request #1107 by odersky (2012-08-09 20:25:05+00:00)
Title: Removed hot statistics call in normal path.

Some very hot calls to Statistics are now subject to the compile-time constant hotEnabled, which means they will be eliminated entirely in the default case where hotEnabled = false.

I hope it helps a bit in speeding up compile times and in any case it will not hurt.

Review by @gkossakowski