You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2007/08/03 17:34:20 UTC

[Bug 3852] two-level system/user configs, improve speed and memory performance

http://issues.apache.org/SpamAssassin/show_bug.cgi?id=3852





------- Additional Comments From jm@jmason.org  2007-08-03 08:34 -------
ok, I should add some comments based on how far I got.

There's a branch in SVN now at
https://svn.apache.org/repos/asf/spamassassin/branches/jm_bug_3852_two_level_configs
which contains an implementation of what was described; however, it's
turned out to be a nightmare, particularly for plugins :(  Having to
understand the new Conf object structure, with two tiers at $conf->{tiers}->[0]
and $conf->{tiers}->[1], means that no plugins will do the right thing
without code changes. I'd prefer to avoid thatm since it's bad news
for third party plugins.

Instead, I have an idea, which involves turning the Conf object into
a tied object, presenting a hash-like UI in front of two tier hashes.
This way, plugins (and other code) can read and write to the Conf
object with minimal changes.  still need to think more about how
this would work, though.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.