diff options
author | Alan Swanson <[email protected]> | 2017-03-10 16:22:51 +0000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-03-15 11:15:11 +1100 |
commit | af09b867329bcc5d50c22c2e634f5c5deb51e184 (patch) | |
tree | c937802c3bd6e0db1edec2c2332ccadf1947e0dc /src/gallium | |
parent | c2793e2c890b828c6cb1e9694619255d69a2ca1e (diff) |
util/disk_cache: use LRU eviction rather than random eviction
Still using fast random selection of two-character subdirectory in
which to check cache files rather than scanning entire cache.
v2: Factor out double strlen call
v3: C99 declaration of variables where used
Reviewed-by: Grazvydas Ignotas <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/gallium')
0 files changed, 0 insertions, 0 deletions