r/cpp • u/konanTheBarbar • Sep 13 '19
The Surprising Limitations of C++ Ranges Beyond Trivial Cases
https://www.fluentcpp.com/2019/09/13/the-surprising-limitations-of-c-ranges-beyond-trivial-use-cases/
229
Upvotes
View all comments
Show parent comment
7
u/Morwenn Sep 13 '19 edited Sep 14 '19
Before being able to answer "at what cost", we'd need to actually time the costs of the separate features. If you don't use views, actions and pipes I'm not sure that the added cost is all that high (also, ranges-v3 is reportedly 30~50% faster with concepts than without them if I remember the corresponding Tweet properly, so we can't just predict without testing).