diff options
author | Michael Schroeder <mls@suse.de> | 2009-07-29 19:00:20 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2009-07-29 19:00:20 +0200 |
commit | 0585efc943ee1a6058a8154011e0a7b29b7f75bc (patch) | |
tree | 94bdde4812f23aaa865d16131cd6fd5612c459b1 /src/pool.c | |
parent | 023278d642074cc9968ac21efb03edb996025903 (diff) | |
download | libsolv-0585efc943ee1a6058a8154011e0a7b29b7f75bc.tar.gz libsolv-0585efc943ee1a6058a8154011e0a7b29b7f75bc.tar.bz2 libsolv-0585efc943ee1a6058a8154011e0a7b29b7f75bc.zip |
- speed up file list parsing a bit
Diffstat (limited to 'src/pool.c')
-rw-r--r-- | src/pool.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1005,6 +1005,11 @@ pool_addfileprovides_search(Pool *pool, struct addfileprovides_cbdata *cbd, stru break; if (j < data->nkeys) { +#if 0 + for (i = 0; i < cbd->nfiles; i++) + if (!MAPTST(&cbd->providedids, cbd->ids[i]) && !repodata_filelistfilter_matches(data, id2str(pool, cbd->ids[i]))) + printf("need complete filelist because of %s\n", id2str(pool, cbd->ids[i])); +#endif for (i = 0; i < cbd->nfiles; i++) if (!MAPTST(&cbd->providedids, cbd->ids[i]) && !repodata_filelistfilter_matches(data, id2str(pool, cbd->ids[i]))) break; |