[Rt-devel] patch: Optimize recipients for Notifications Mails

Ruslan Zakirov ruz at bestpractical.com
Wed Jul 18 10:18:29 EDT 2007


On 7/18/07, Dirk Pape <pape-rt at inf.fu-berlin.de> wrote:
> Hello Ruslan,
>
> --Am 17. Juli 2007 21:00:41 +0400 schrieb Ruslan Zakirov
> <ruz at bestpractical.com>:
>
> > Hi, Dirk. Have applied equivalent of the patch, it came into the repo
> > as the rev #8186. Please, check that it does the same thing as yours.
>
> your patch looks shorter and trickier then my second version, which is
that trick is quite popular in perl world.

> under
> <http://page.mi.fu-berlin.de/pape/rt3/patches/rt/3.6.4/optimize_recipients.patch>.
> My limited perl knowlegde tells me that it has the same semantics. We
> should not discuss about worst case computing complexity (which seems to be
> n*log(n) with my path and n*n with yours, where n is number of
> email-adresses :-)
I disagree with your math, but let's leave it alone for this little beats :)

>
> Because in general n is not high enough I would not mind to migrate to your
> fix.
>
> Dirk.
>
> --
> Dr. Dirk Pape (eAS - Projektleitung Campus Management)
> Freie Universitaet Berlin
> Grunewaldstr. 34a, 12165 Berlin
> Tel. +49 (0)30 838 75143, Fax. +49 (0)30 838 54654
>


-- 
Best regards, Ruslan.


More information about the Rt-devel mailing list