Does the compiler inline the predicate functions to std.algorithm.sort?
tipdbmp via Digitalmars-d-learn Sun, 18 Mar 2018 06:01:14 -0700
I can't read assembly but it seems to me that it doesn't:
https://godbolt.org/g/PCsnPT
I think C++'s sort can take a "function object" that can get
inlined.
- Does the compiler inline the predi... tipdbmp via Digitalmars-d-learn
- Re: Does the compiler inline ... Radu via Digitalmars-d-learn
- Re: Does the compiler inline ... Stefan Koch via Digitalmars-d-learn
- Re: Does the compiler inl... David Nadlinger via Digitalmars-d-learn
- Re: Does the compiler... tipdbmp via Digitalmars-d-learn
- Re: Does the comp... Seb via Digitalmars-d-learn
- Re: Does the comp... Johan Engelen via Digitalmars-d-learn