[squid-users] Debugging slow access
Eliezer Croitoru
eliezer at ngtech.co.il
Wed Jan 7 13:17:29 UTC 2015
Hey Steve,
First of all thanks for all the notes.
You made it possible to look at the bug before I understood how to
reproduce it.
I would like for the record to make sure we can reproduce it just for
the tests list that I will add later to newer releases.
Can you give me the details about any testing environment?
Eliezer
On 06/01/2015 19:11, Steve Hill wrote:
>
> I've implemented this for now in the attached patch and am currently
> testing it. Initial results suggest it resolves the problem.
>
> It introduces a new method, NotePairs::appendAndReplace(), which
> iterates through the source NotePairs and removes any NotePairs in the
> destination that have the same key, then calls append().
>
> This is not the most efficient way of erasing the notes, because Squid's
> Vector template doesn't appear to have an erase() method.
More information about the squid-users
mailing list