|
Boost : |
Subject: Re: [boost] Push/pull parsers & coroutines (Was: Boost.HTTPKit, a new library from the makers of Beast!)
From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2017-10-14 15:13:49
On Sat, Oct 14, 2017 at 8:03 AM, Seth via Boost <boost_at_[hidden]> wrote:
> ¹ coroutines are not zero cost
That depends. I've done some investigation into the Coroutines TS
described in n4134. For coroutines whose scope is strictly limited to
the calling function, they can be implemented with zero cost (no
dynamic allocation and comparable assembly output). The expository
code that Phil provided certainly falls into that category.
Thanks
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk