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





------- Additional Comments From [EMAIL PROTECTED]  2007-12-28 03:14 -------
(In reply to comment #18)
> here is my take on how to use the built-in
> sort for trunk. My perl-fu is not that strong, so please tell me if this could
> be done uaing some more typical perl idioms. I pretty much just translated the
> existing code from using a sorted file to using a sorted array that is slurped
> in from the file.

you can replace the "$sfhindex" stuff with simpler use of "shift", but that's a
minor code-smell issue ;)  looks good to me, I say check it in to trunk.

regarding the size of the input -- it's pretty small, I don't think it'd be
beyond 2MB of data in normal use.  so memory-based sorting is fine.



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

Reply via email to