- add optimization comment
authorMichael Schroeder <mls@suse.de>
Wed, 30 Jan 2008 12:05:35 +0000 (12:05 +0000)
committerMichael Schroeder <mls@suse.de>
Wed, 30 Jan 2008 12:05:35 +0000 (12:05 +0000)
tools/repo_write.c

index ea6d543..e0db955 100644 (file)
@@ -644,6 +644,7 @@ repo_write_cb_sizes(void *vcbdata, Solvable *s, Repodata *data, Repokey *key, Ke
     }
   if (cbdata->mykeys[rm].storage == KEY_STORAGE_VERTICAL_OFFSET && kv->eof)
     {
+      /* we can re-use old data in the blob here! */
       data_addid(cbdata->extdata + 0, cbdata->vstart);                 /* add offset into incore data */
       data_addid(cbdata->extdata + 0, xd->len - cbdata->vstart);       /* add length into incore data */
       cbdata->vstart = 0;