summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorAlan Swanson <[email protected]>2017-03-10 16:22:51 +0000
committerTimothy Arceri <[email protected]>2017-03-15 11:15:11 +1100
commitaf09b867329bcc5d50c22c2e634f5c5deb51e184 (patch)
treec937802c3bd6e0db1edec2c2332ccadf1947e0dc /src/gallium
parentc2793e2c890b828c6cb1e9694619255d69a2ca1e (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