Standard way to supply hints to branches

Stefan Koch uplink.coder at googlemail.com
Tue Sep 10 07:46:37 UTC 2024


On Tuesday, 10 September 2024 at 02:18:57 UTC, Tejas wrote:

> Hi, what are your views on the article linked below that 
> discourages using `[[likely]]` and `[[unlikely]]`?
>
> https://blog.aaronballman.com/2020/08/dont-use-the-likely-or-unlikely-attributes/

Well it does criticize how the likely and unlikely attributes in 
c++ have unintuitive semantics. D would probably have a chance to 
fix that. If D decides to support the attributes.


More information about the Digitalmars-d mailing list