mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Boost open() performance on platforms with dircache. Tagcache initial
scanning now over 50% faster than before. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9306 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6784e0333f
commit
2d93495df2
3 changed files with 52 additions and 9 deletions
|
@ -82,12 +82,12 @@ const struct dircache_entry *dircache_get_entry_ptr(const char *filename);
|
|||
void dircache_copy_path(const struct dircache_entry *entry, char *buf, int size);
|
||||
|
||||
void dircache_bind(int fd, const char *path);
|
||||
void dircache_update_filesize(int fd, long newsize);
|
||||
void dircache_update_filesize(int fd, long newsize, long startcluster);
|
||||
void dircache_mkdir(const char *path);
|
||||
void dircache_rmdir(const char *path);
|
||||
void dircache_remove(const char *name);
|
||||
void dircache_rename(const char *oldpath, const char *newpath);
|
||||
void dircache_add_file(const char *path);
|
||||
void dircache_add_file(const char *path, long startcluster);
|
||||
|
||||
DIRCACHED* opendir_cached(const char* name);
|
||||
struct dircache_entry* readdir_cached(DIRCACHED* dir);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue