Issue 102750
Summary [libc++] Make views of segmented iterators segmented
Labels metabug, libc++, performance
Assignees
Reporter philnik777
    Many views can use the segmented iterator optimization when operating on a segmented range. We should add the necessary meta-programming to enable the optimization.

These views can probably be optimized (in no particular order):
- [ ] `filter_view`
- [ ] `transform_view`
- [ ] `reverse_view`
- [ ] `elements_view`
- [ ] `enumerate_view`
- [ ] `zip_view`
- [ ] `zip_transform_view`
- [ ] `adjacent_view`
- [ ] `adjacent_transform_view`
- [ ] `join_with_view` (Could that be a segmented range itself?)
- [ ] `as_const_view`
- [ ] `as_rvalue_view`
- [ ] `cartesian_product_view`
- [ ] `concat_view`

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to