Skip to Content.
Sympa Menu

devel - Re: [sympa-developpers] Do we stil need List::init_list_cache() ?

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: IKEDA Soji <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-developpers] Do we stil need List::init_list_cache() ?
  • Date: Wed, 13 Feb 2013 18:40:10 +0900

On Wed, 13 Feb 2013 08:55:07 +0100
David Verdin <address@concealed> wrote:

> Hi Soji,
>
> If updated config is reloaded anytime we call List::new, then we don't
> need to erase cache at each process loop.
> So, when you say "yea", you do mean: "yes, we can delete the
> List::init_list_cache function", don't you?

Yes, we can! :| We can delete that function, I believe.

Regards,

--- Soji

> regards,
>
> David
> Le 13/02/13 05:39, IKEDA Soji a e'crit :
> > On Tue, 12 Feb 2013 16:06:37 +0100
> > David Verdin <address@concealed> wrote:
> >
> >> I wonder this because lists are now cached by robot objects and updated
> >> in memory anytime the list config is changed.
> >> So do we still need to arease the list cache at each loop? After all,
> >> even if it makes memory usage increase, it is also a little costly to
> >> reload a list any time we need it.
> > Updated config is reloaded anytime List::new() is called.
> > So I'll say yea.
> >
> > Regards,
> >
> > -- Soji
> >
> >> Regards,
> >>
> >> David
> >> --
> >> A bug in Sympa? Quick! To the bug tracker!
> >> <https://sourcesup.renater.fr/tracker/?atid=167&group_id=23&func=browse>
> >> David Verdin
> >> Services Applicatifs aux Utilisateurs
> >> Tel. +33 2 23 23 69 71
> >> GIP RENATER <http://www.renater.fr>
> >>
> >>
> >
> >
> > --
> > A bug in Sympa? Quick! To the bug tracker!
> > <https://sourcesup.renater.fr/tracker/?atid=167&group_id=23&func=browse>
> > David Verdin
> > Services Applicatifs aux Utilisateurs
> > Tel. +33 2 23 23 69 71
> > GIP RENATER <http://www.renater.fr>
> >


--
株式会社 コンバージョン セキュリティ&OSSソリューション部 池田荘児
〒231-0004 神奈川県横浜市中区元浜町3-21-2 ヘリオス関内ビル7F
e-mail address@concealed TEL 045-640-3550
http://www.conversion.co.jp/



Archive powered by MHonArc 2.6.19+.

Top of Page