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?<br>
<br><div class="gmail_quote">On Mon, Jan 3, 2011 at 12:54 PM, <a href="http://dsource.org">dsource.org</a> <span dir="ltr"><<a href="mailto:noreply@dsource.org">noreply@dsource.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
phobos commit, revision 2270<br>
<br>
<br>
user: andrei<br>
<br>
msg:<br>
Added filterBidirectional for completeness<br>
<br>
<a href="http://www.dsource.org/projects/phobos/changeset/2270" target="_blank">http://www.dsource.org/projects/phobos/changeset/2270</a><br>
<br>
paths changed:<br>
U trunk/phobos/std/algorithm.d<br>
<br>
_______________________________________________<br>
phobos mailing list<br>
<a href="mailto:phobos@puremagic.com">phobos@puremagic.com</a><br>
<a href="http://lists.puremagic.com/mailman/listinfo/phobos" target="_blank">http://lists.puremagic.com/mailman/listinfo/phobos</a><br>
</blockquote></div><br>