-
Richard Henderson authored
The check in the encode/decode path using full division has a noticeable amount of overhead. By asserting the blocksize is a power of 2, we can reduce this check to a mask. Signed-off-by:
Richard Henderson <richard.henderson@linaro.org>
Signed-off-by:
Daniel P. Berrangé <berrange@redhat.com>Richard Henderson authoredThe check in the encode/decode path using full division has a noticeable amount of overhead. By asserting the blocksize is a power of 2, we can reduce this check to a mask. Signed-off-by:
Richard Henderson <richard.henderson@linaro.org>
Signed-off-by:
Daniel P. Berrangé <berrange@redhat.com>
Loading