[erlang-questions] overhead of lists:dropwhile/2
Tue Apr 28 11:42:34 CEST 2015
Le 26 avr. 2015 à 18:06, Tuncer Ayaz <> a écrit :
> I was wondering if inlining could transform it into what Bjorn wrote
> in expanded form (inline the fun object and dropwhile/2 itself), but that
> seemed a little too much to expect from the inliner.
Not too much, IIRC it does. You can check yourself by inlining a lists:map/2 call and compiling to Core Erlang.
More information about the erlang-questions