On 06.05.2015 15:39, Alberto Garcia wrote:
Since all tables are now stored together, it is possible to obtain the position of a particular table directly from its address, so the operation becomes O(1).Signed-off-by: Alberto Garcia <be...@igalia.com> --- block/qcow2-cache.c | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-)
Reviewed-by: Max Reitz <mre...@redhat.com>