Re: Algorithms opApply

2010-08-27 Thread Andrei Alexandrescu
On 8/23/10 19:26 PDT, dsimcha wrote: == Quote from bearophile (bearophileh...@lycos.com)'s article The gentle and a-lot-working David Simcha has converted one of my bug reports into an enhancement request: http://d.puremagic.com/issues/show_bug.cgi?id=4264 Currently (SVN) only array() is able

Re: Algorithms opApply

2010-08-27 Thread dsimcha
== Quote from Andrei Alexandrescu (seewebsiteforem...@erdani.org)'s article On 8/23/10 19:26 PDT, dsimcha wrote: == Quote from bearophile (bearophileh...@lycos.com)'s article The gentle and a-lot-working David Simcha has converted one of my bug reports into an enhancement request:

Re: Algorithms opApply

2010-08-27 Thread bearophile
dsimcha: So it seems like adding more and more layers of stacking causes each layer of stacking to have progressively more overhead. This makes sense because each layer of stacking is likely to have a progressively worse effect on the CPU pipeline. The CPU can probably speculatively

Re: Algorithms opApply

2010-08-25 Thread dsimcha
== Quote from bearophile (bearophileh...@lycos.com)'s article The gentle and a-lot-working David Simcha has converted one of my bug reports into an enhancement request: http://d.puremagic.com/issues/show_bug.cgi?id=4264 Currently (SVN) only array() is able to digest iterables that define

Re: Algorithms opApply

2010-08-25 Thread bearophile
dsimcha: even though Map gets fully inlined when used alone. This is what I too have found in past. I wonder if this is a weakness of compiler inlining heuristics in general, though. I have a bug report open for LLVM about this :-) is this just an ugly corner case in the imperfect

Re: Algorithms opApply

2010-08-23 Thread dsimcha
== Quote from bearophile (bearophileh...@lycos.com)'s article The gentle and a-lot-working David Simcha has converted one of my bug reports into an enhancement request: http://d.puremagic.com/issues/show_bug.cgi?id=4264 Currently (SVN) only array() is able to digest iterables that define

Algorithms opApply

2010-08-22 Thread bearophile
The gentle and a-lot-working David Simcha has converted one of my bug reports into an enhancement request: http://d.puremagic.com/issues/show_bug.cgi?id=4264 Currently (SVN) only array() is able to digest iterables that define opApply only, but I think a few more spread support will be very