You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to imgseek_dev
Hi,
i think imgdb module has a performance leak in case of search in big
dbase
sigs base and image buckets are linked by string id, which in this
code force a performance leak:
// update the score of every image which has this coef
long_listIterator end = imgbuckets[c][pn][idx].end();
for (long_listIterator uit = imgbuckets[c][pn][idx].begin();
uit != end;
uit++) {
sigs[(*uit)]->score -= weights[sketch][imgBin[idx]][c]; ///
leak is here
in each iteration search in tree (std::map) is performed.