[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: nnshimbun optimisation
- From: TSUCHIYA Masatoshi <tsuchiya@xxxxxxxxxx>
- Date: Wed, 12 Jul 2006 18:18:46 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 08777
- References: <87psgi7qie.fsf@gate450.dyndns.org>
>> On Thu, 06 Jul 2006 16:32:41 +0200
>> seltenreich@xxxxxx (Andreas Seltenreich) said as follows:
>I just elp'd scanning for new articles in a large (~10k articles)
>nnshimbun group using Emacs 22. Most of the time was burned in
>nnshimbun-search-id:
>Function Name Call Count Elapsed Time Average Time
>=================================== ========== ============ ============
>nnshimbun-request-scan 1 16.175174 16.175174
>nnshimbun-generate-nov-database 1 16.174949 16.174949
>nnshimbun-search-id 53 14.632969999 0.2760937735
>Binding case-fold-search in there yielded a nice speedup:
>Function Name Call Count Elapsed Time Average Time
>=================================== ========== ============ ============
>nnshimbun-request-scan 1 1.730321 1.730321
>nnshimbun-generate-nov-database 1 1.730097 1.730097
>nnshimbun-search-id 53 0.3751609999 0.0070785094
>Patch attached.
Thanks for your report. I have just committed your patch.
--
TSUCHIYA Masatoshi