Skip to content
Snippets Groups Projects
user avatar
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: default avatarRichard Henderson <richard.henderson@linaro.org>
Signed-off-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
eba29771
History