X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Fspam-stat.el;h=8464c2b8817be6cc614d2353894f3ace32953ad8;hb=275ea43d85c2295892cc79601d14fdde768ad92c;hp=bbbba6314d2bc8bcc8f24eab43ace9d8ca010011;hpb=4598b90dbd4e5a5269244a4326d85115c698b4aa;p=elisp%2Fgnus.git- diff --git a/lisp/spam-stat.el b/lisp/spam-stat.el index bbbba63..8464c2b 100644 --- a/lisp/spam-stat.el +++ b/lisp/spam-stat.el @@ -399,7 +399,8 @@ the word string, NGOOD is the number of good mails it has appeared in, NBAD is the number of bad mails it has appeared in, GOOD is the number of times it appeared in good mails, and BAD is the number of times it has appeared in bad mails." - (let ((table (make-hash-table :test 'equal))) + (let ((table (make-hash-table :size (length entries) + :test 'equal))) (mapc (lambda (l) (puthash (car l) (spam-stat-make-entry (nth 1 l) (nth 2 l))