Subject: Re: [boost] [outcome] How to drop the formal empty state
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2017-05-31 12:35:24
On 30/05/2017 23:34, Gottlob Frege via Boost wrote:
>>> Would you not rather manually "predict" for the valued state?
>> Predictable latency for success or failure is a key design goal for
>> Outcome. If you want success to be preferred, choose Expected instead.
> If success is 0 extra cycles, and failure is 20 extra cycles, it is
> still predictable, just not equal.
No, because for every branch taken on an outcome, you multiply your
potential runtime execution paths by two. If success and failure are not
balanced, it totally ruins predictability.
-- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk