1 |
|
Mon Apr 28 09:06:28 BST 2003 Colin Watson <cjwatson@debian.org> |
2 |
|
|
3 |
|
Introduce a readdir() cache, which substantially speeds up mandb's |
4 |
|
purging functions (from 2 minutes to under 45 seconds on my laptop, |
5 |
|
and from about 280000 to about 13500 system calls). |
6 |
|
|
7 |
|
* src/globbing.c (dirent_hash_free, update_directory_cache): New |
8 |
|
functions. |
9 |
|
(match_in_directory): Use update_directory_cache() rather than |
10 |
|
reading the directory on every call. |
11 |
|
* docs/NEWS: Document this. |
12 |
|
|
13 |
Mon Apr 28 00:51:11 BST 2003 Colin Watson <cjwatson@debian.org> |
Mon Apr 28 00:51:11 BST 2003 Colin Watson <cjwatson@debian.org> |
14 |
|
|
15 |
* lib/hashtable.c (hash_lookup): Return the definition rather than |
* lib/hashtable.c (hash_lookup): Return the definition rather than |