scalac_perf icon indicating copy to clipboard operation
scalac_perf copied to clipboard

The Scala programming language

Results 55 scalac_perf issues
Sort by recently updated
recently updated
newest added

``` @inline final override def foreach[U](f: A => U) { var these = this while (!these.isEmpty) { f(these.head) these = these.tail } } ``` could be ``` @inline final override...

collections
library
Easy

move thread start/stop to ThreadFactory avoid race on shutdown profile a hook for lock contention in profiler add reporting of lock stats in profiler

If a Vector is compared to another Vector (or some other collection that efficiently implements length and apply) then we should prefer that mechanism, with a default/fallback to the existing...

collections
PRed
Easy

String Interpolation is slow at run time and inefficient code generation, with lots of temporary garbage generated convert s and raw to macros (like f is already) generate optimal code...

library
PRed

improve some work started on this in 2.12.x_classpath_2

move the non typechecking things after typer e.g. rangepos validation lint etc opportunities for parallelization

Easy

rangepos is read only, and doesn't cause typing - its a check of the relative positions in the tree it seems to be a good candidate to be moved into...

compiler

this contains scala aliases for java.lang.Math primitives e.g. ``` /** @group minmax */ def min(x: Int, y: Int): Int = java.lang.Math.min(x, y) /** @group minmax */ def min(x: Long, y:...