https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123211

Barry Revzin <barry.revzin at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |barry.revzin at gmail dot com

--- Comment #1 from Barry Revzin <barry.revzin at gmail dot com> ---
Nit: We have ranges::fold_left.

But also... join_view and concat_view are the biggest/most obvious bang for the
buck here, since you avoid a lot of complexity that probably won't optimize
out. But once you start, you probably want to just go through and do all of
them

Cause distance(transform_view) should just be distance(transform_view.base())
too, cause otherwise distance(... | join | transform(f)) is slow.

And then distance(filter_view) could just loop internally. 

And distance(r | stride(k)) can be ceil(distance(r) / k), or something along
those lines. 

And so on and so on and so on. Probably lots of room here.

Reply via email to