core.intrinsics
Johan Engelen via Digitalmars-d
digitalmars-d at puremagic.com
Fri Oct 14 04:51:32 PDT 2016
On Friday, 14 October 2016 at 11:17:55 UTC, Andrei Alexandrescu
wrote:
> On 10/14/2016 05:24 AM, Johan Engelen wrote:
>> I like "hints".
>
> How many other hints are out there? -- Andrei
Things that come to mind:
- this value is probably X (bool, int, pointer)
- this type is probably Y
- this function is likely hot/cold (UDA)
- this data is likely to be accessed soon (_could_ lead to a
prefetch)
- this member field is hot/cold (iirc, Class members may be
re-ordered) (UDA)
More information about the Digitalmars-d
mailing list