[phobos] phobos commit, revision 2270

David Simcha dsimcha at gmail.com
Mon Jan 3 10:00:22 PST 2011


Why is this a speed disadvantage?  IMHO, filterBidirectional should be the
only flavor of filter.  Either way, exactly one complete pass has to be made
through the base range to iterate over the Filter.  It just means that
things will be computed slightly more eagerly.  Are there any very important
use cases where this is a major disadvantage?

On Mon, Jan 3, 2011 at 12:54 PM, dsource.org <noreply at dsource.org> wrote:

> phobos commit, revision 2270
>
>
> user: andrei
>
> msg:
> Added filterBidirectional for completeness
>
> http://www.dsource.org/projects/phobos/changeset/2270
>
> paths changed:
> U   trunk/phobos/std/algorithm.d
>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/phobos/attachments/20110103/b8947acb/attachment.html>


More information about the phobos mailing list