[PATCH 2/7] Add 'likely' and 'unlikely' macros

Keith Packard keithp at keithp.com
Tue May 12 23:02:59 PDT 2015


walter harms <wharms at bfs.de> writes:

> Just for my curiosity .. is there any benchmark that shows that this
> actually improves something

Yeah, I was measuring the new text code during development and saw some
(tiny) improvements -- it's got a ton of branches in an inner loop
loading glyphs pointers to hardware.

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20150512/044b842e/attachment.sig>


More information about the xorg-devel mailing list