scala-dev icon indicating copy to clipboard operation
scala-dev copied to clipboard

check / test inlining of list operations

Open lrytz opened this issue 10 years ago • 0 comments
trafficstars

with the latest heuristics (not yet merged):

  • when compiling all of the library, mapConserve has its loop method inlined, but dropWhile has a call to loop$3
  • when only compiling (re-compiling) List.scala, both methods have their loop methods inlined

this is relevant because dropWhile cannot be inlined into other classfiles if it contains a call to loop$3, that method is not public.

lrytz avatar Sep 16 '15 19:09 lrytz