[erlang-questions] overhead of lists:dropwhile/2
Sun Apr 26 18:06:52 CEST 2015
On Sun, Apr 26, 2015 at 1:08 PM, Anthony Ramine <> wrote:
> Le 26 avr. 2015 a 12:17, Tuncer Ayaz <> a ecrit :
>> No idea why I thought inlining would help. Please ignore that.
> It could if lists:dropwhile/2 was in the list of inlined lists functions.
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.
> I could clean https://github.com/nox/otp/commits/inline_list_funcs-additions
> and submit it if there is interest for such a thing.
Is it always a win?
More information about the erlang-questions