Skip to Content.
Sympa Menu

en - Re: [sympa-users] Adding a delivery type - html_summary - patches for 4.0b2

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Olivier Salaun - CRU <address@concealed>
  • To: Chris Hastie <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-users] Adding a delivery type - html_summary - patches for 4.0b2
  • Date: Mon, 16 Feb 2004 15:26:05 +0100

We've patched List::send_msg_digest() to cycle once only through subscribers.

Thanks.

Chris Hastie wrote:

On Tue, 10 Feb 2004, Mark Valiukas <address@concealed> wrote

## Create the list of subscribers in html_summary mode
for (my $user = $self->get_first_user(); $user; $user = $self->get_next_user()) {
push @tabrcpthtmlsummary, $user->{'email'}
if $user->{'reception'} eq "html_summary";
}

OK, I'm starting to do the bits I need to around here and wonder if any one can explain if there is a good reason why the code currently cycles through the entire (possibly very large) subscriber list twice, and with the above patch three times. Would not this, which only cycles through the list once, be rather more efficient:
[...]

--
Olivier Salaun
Comite Reseau des Universites





Archive powered by MHonArc 2.6.19+.

Top of Page