Expand the directory-tracking pre-coding logic master
authorSteve McIntyre <steve@einval.com>
Sat, 1 Jun 2013 18:55:22 +0000 (19:55 +0100)
committerSteve McIntyre <steve@einval.com>
Sat, 1 Jun 2013 18:55:22 +0000 (19:55 +0100)
commitfc6cb6b5f28210a54cf76dff483017c300b83161
treeec9e6d4d107bfe0240239ee6e770fbd25ea6f4ce
parent7a98b402779868e0b529f62e3ecd05df29876aa4
Expand the directory-tracking pre-coding logic

The old code used to just track the single previous directory. This
would be thrown by multiple users reading files from different
directories, stopping parallelism from happening. Now, track the last
10 directories accessed all the time, and trigger if there are
sufficient matches in any of those positions. Much faster.
C/fuse-music.c