[issue37774] Micro-optimize vectorcall using PY_LIKELY

Ma Lin report at bugs.python.org
Thu Aug 8 00:48:11 EDT 2019


Ma Lin <malincns at 163.com> added the comment:

How about write a suggestion on when to use them in the comment?

For example:
> You should use it only in cases when the likeliest branch is
> very very very likely, or when the unlikeliest branch is very
> very very unlikely. 
from https://kernelnewbies.org/FAQ/LikelyUnlikely

Another discussion about them:
https://lwn.net/Articles/420019/

----------
nosy: +Ma Lin

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37774>
_______________________________________


More information about the Python-bugs-list mailing list