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 2009/02/06 15:15:35 UTC
[Bug 6060] Perl5.8.9 crashes while compiling long code from generic
rules
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6060
--- Comment #1 from Justin Mason <jm...@jmason.org> 2009-02-06 06:15:34 PST ---
> Btw, I experimented with changes based on Bug 5876 (storing code to a
> file and letting 'do' deal with it). It is promising, it does indeed
> reduce memory footprint, although is does not provide a solution
> for this 5.8.9 problem. Perhaps a solution could take both aspects
> into considerations (I have available fresh patches along the lines
> of Bug 5876, separate for eval and for generic rules, I can make them
> available).
+1 to that idea!
btw it should be no problem to split up the large subs. even if each one was
broken into 100 separate subroutines, I don't think there would be a noticeable
performance hit. It's analogous to loop unrolling, what's going on here,
basically.
--
Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.