<div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
> This approach is free from both the issues: it has no additional function<br>
> call for isDone() (what Cyrille wanted to achieve), and it doesn't<br>
> introduce any preconditions for the iterators, which mean they can handle<br>
> empty and invalid rects as well.<br>
<br>
</div>On the other hand, it add extra complexity to the "nextPixel" function, hence<br>
cycles, to cover a corner case. Since you would have to either have a check to<br>
"nextPixel" to handle the first call or to positionate the iterator at<br>
beginning-1, and take the risk that the iterator request an useless tile.<br clear="all"></blockquote><div><br>Is there a benchmark for iterators in master? <br></div></div><br>-- <br>Dmitry Kazakov<br>
</div>