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
..
2011-09-23 17:14:47 -07:00
2015-07-08 16:41:29 -04:00
2003-11-14 16:49:22 +00:00
2003-11-14 15:54:54 +00:00
2015-08-24 00:00:18 -07:00
2018-11-06 11:33:19 +01:00
2018-09-12 12:26:48 +10:00
2017-10-10 23:33:44 +02:00
2014-11-12 10:25:00 +10:00
2018-05-08 11:59:28 -04:00
2018-11-19 19:37:10 +00:00
2018-04-10 14:50:08 -04:00
2015-07-08 16:40:57 -04:00
2017-10-30 13:45:20 -04:00
2018-11-19 13:56:51 -05:00
2018-04-24 14:36:04 -04:00
2017-10-30 13:45:20 -04:00
2018-04-05 14:18:52 -04:00
2017-03-27 15:59:47 -04:00
2015-04-21 16:57:07 -07:00
2015-04-21 16:57:08 -07:00
2012-03-21 13:54:42 -07:00
2018-09-28 16:25:17 -04:00
2018-11-19 19:37:10 +00:00
2017-11-06 17:22:46 -05:00
2018-03-27 10:13:18 -04:00
2017-08-15 17:01:39 +09:00
2017-10-30 13:45:20 -04:00
2017-02-23 13:30:11 -05:00
2018-02-27 13:08:35 -05:00
2016-05-26 16:07:54 -07:00
2015-04-21 16:57:08 -07:00
2014-09-18 15:29:29 -07:00
2018-12-11 18:41:33 +00:00
2016-05-04 10:58:01 -04:00
2013-07-23 23:56:58 +01:00
2017-03-01 10:16:20 -05:00
2017-06-19 11:58:50 +10:00
2014-11-12 10:25:00 +10:00
2016-05-26 16:07:54 -07:00
2018-11-13 11:02:41 -05:00
2012-03-22 11:33:42 +10:00
2017-07-31 13:32:35 -04:00