aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx/xf86dristr.h
diff options
context:
space:
mode:
authorGrazvydas Ignotas <[email protected]>2017-03-19 00:46:39 +0200
committerTimothy Arceri <[email protected]>2017-03-20 08:14:31 +1100
commitbd93cea69124b91ec278069f2095b4cbfb44cc2f (patch)
treed92405ef754530099a0efb54e03e7aed20254951 /src/glx/xf86dristr.h
parent663e7c25f5ea6a3933de804d47503e3569debc01 (diff)
util/disk_cache: fix stored_keys index
It seems there is a bug because: - 20 bytes are compared, but only 1 byte stored_keys step is used - entries can overlap each other by 19 bytes - index_mmap is ~1.3M in size, but only first 64K is used With this fix for Deus Ex: - startup time (from launch to Feral logo): ~38s -> ~16s - disk_cache_has_key() hit rate: ~50% -> ~96% Signed-off-by: Grazvydas Ignotas <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/glx/xf86dristr.h')
0 files changed, 0 insertions, 0 deletions