2026-03-21 02:57

I hope generators get more love in the C++ circle.

Unfortunately, I think a C++ coroutine-based generator has a non-trivial overhead compared to a hand-written iterator or state machine. It probably doesn’t matter for a lot of use cases (like the example the author showed).

Looking at Unity finall..

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论