summaryrefslogtreecommitdiff
path: root/src/repopage.c
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2009-06-29 12:35:50 +0200
committerMichael Schroeder <mls@suse.de>2009-06-29 12:35:50 +0200
commit5ed9867b973d98b8405926f9ba11134a01337b32 (patch)
treef1d880637c06c8c7929884a3818b99c102f0ac1b /src/repopage.c
parent8d207e96e526e4670c65d4f22d575f2203612247 (diff)
downloadlibsolv-5ed9867b973d98b8405926f9ba11134a01337b32.tar.gz
libsolv-5ed9867b973d98b8405926f9ba11134a01337b32.tar.bz2
libsolv-5ed9867b973d98b8405926f9ba11134a01337b32.zip
- add some comments, move code around
- add support for RPM_ADD_WITH_PKGID, RPM_ADD_NO_FILELIST, RPM_ADD_NO_RPMLIBREQS
Diffstat (limited to 'src/repopage.c')
-rw-r--r--src/repopage.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/repopage.c b/src/repopage.c
index 6ce3ca8..1ba8f7f 100644
--- a/src/repopage.c
+++ b/src/repopage.c
@@ -8,8 +8,14 @@
/*
* repopage.c
*
- * Pageing and compression functions for the vertical repository data
- *
+ * Paging and compression functions for the vertical repository data.
+ * Vertical data is grouped by key, normal data is grouped by solvable.
+ * This makes searching for a string in vertical data fast as there's
+ * no need to skip over data if keys we're not interested in.
+ *
+ * The vertical data is split into pages, each page is compressed with a fast
+ * compression algorithm. These pages are read in on demand, not recently used
+ * pages automatically get dropped.
*/
#define _XOPEN_SOURCE 500