Files
xserver/dix
Olivier Fourdan c731165402 dix: cache ResourceClientBits() value
The `LimitClient` is set once and for all at startup, whereas the
function `ResourceClientBits()` which returns the client field offset
within the XID based on the value of `LimitClient` can be called
repeatedly.

Small optimization, cache the result of `ilog2()`, that saves running
the same loop over and over each time `ResourceClientBits()` is called.

Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
2018-12-11 18:41:33 +00:00
..
2015-07-08 16:41:29 -04:00
2014-11-12 10:25:00 +10:00
2017-10-30 13:45:20 -04:00
2015-04-21 16:57:07 -07:00
2018-09-28 16:25:17 -04:00
2017-11-06 17:22:46 -05:00
2018-03-27 10:13:18 -04:00
2017-10-30 13:45:20 -04:00
2016-05-26 16:07:54 -07:00
2013-07-23 23:56:58 +01:00
2014-11-12 10:25:00 +10:00