From: Michael Schroeder Date: Wed, 30 Jan 2008 12:05:35 +0000 (+0000) Subject: - add optimization comment X-Git-Tag: BASE-SuSE-Code-12_1-Branch~990 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a609c033a62ffdb46462548b1bb1da47c0d6883;p=platform%2Fupstream%2Flibsolv.git - add optimization comment --- diff --git a/tools/repo_write.c b/tools/repo_write.c index ea6d543..e0db955 100644 --- a/tools/repo_write.c +++ b/tools/repo_write.c @@ -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;