On Mon, 30 Jan 2017 17:01:31 +0000
"Laurent Bercot" <ska-supervis...@skarnet.org> wrote:
> There's no obvious way to make it more efficient without
> significantly exploding the amount of code, and we're talking about a
> scale where a bit
> of n^2 is completely negligible.
> I've committed a patch that does exactly what you suggested, even if
> the code is organized a bit differently.
> Please tell me if it works for you.
This will prevent duplicates yes (which you don't mention on the commit
msg btw), however it doesn't actually change the return value of
ftrigr_update(), which is still the number of messages processed.