From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: rfc2047-decode-string in C? Date: Sat, 11 Sep 2010 18:10:52 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1284221475 14380 80.91.229.12 (11 Sep 2010 16:11:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 11 Sep 2010 16:11:15 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 11 18:11:14 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OuSfZ-0002Cs-Ji for ged-emacs-devel@m.gmane.org; Sat, 11 Sep 2010 18:11:13 +0200 Original-Received: from localhost ([127.0.0.1]:46830 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OuSfY-0006Cr-TI for ged-emacs-devel@m.gmane.org; Sat, 11 Sep 2010 12:11:12 -0400 Original-Received: from [140.186.70.92] (port=59299 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OuSfS-0006BM-1r for emacs-devel@gnu.org; Sat, 11 Sep 2010 12:11:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OuSfO-00034B-NY for emacs-devel@gnu.org; Sat, 11 Sep 2010 12:11:05 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:49311) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OuSfO-00033z-B5 for emacs-devel@gnu.org; Sat, 11 Sep 2010 12:11:02 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OuSfM-00026z-NU for emacs-devel@gnu.org; Sat, 11 Sep 2010 18:11:00 +0200 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Sep 2010 18:11:00 +0200 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Sep 2010 18:11:00 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 17 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUYExSnnVoHBggNCw0L CQsKCQoKCQsJCAlzVk1GAAACd0lEQVQ4jW2TwW7bMAyGFaQPUGNPUGONr8ak5txBlHItVtG+LzZ9 HVLLev39VNKuA0oEga1P/H+ToozZ9+aL2ONnb8/W/g9szdjba3wG+mKdjT4QSP8Oen3cO55zOiUP 8nwDdY8bynJIp7Mj+/R2lTavvofQskkm8QDuXNUAbL93UjaiuEyE/8nbDxBlEyaJokCm6mrUb5Fp ZBqkIiFN2ZuztQ77mRPSAgWaAHqAt97SMnNmHkeZX0OCEVIqiFsFQxGRkJKHepVyUTwR88xTBU61 FPjoAULmLMumGUQVHNXNUeJTGRaZhfFiLcCyAUBqLKUrG4CaK4gADuCya5r7PPIaSLts1kgVjH8a xB2PzAp6eFCylAI3NQKnQLXElZZE+JafV3DHier3msMRAFXcgIHSaz3jjQTZgXfX9R0yqALxUQJ6 qGCngGtPkHF2xzkRwH1zbwBWVGWtN5s7XVZse1Cle4Bsba2jTEsHJX64mjcwVwtn2onUYny5Af/0 DnBozIGfr+vffHAeSDSjnsXL7r1A5521R9Ou3qnWv5agdei8Kd/RQeSUl2tCRoGQiuYgOmZcxtw3 zT7wgHNDFyezCsoLQ3fCVv+Uedxw0N6LmZYJFrmdM9f43SU9Hm/W5UBpzJeQwUfO4yPhoElMd+mm MMCD58Il82nV0YhiDpcWk64DV8pY0J3V6qRZBYc5oUNlKLkUHtMNdEvbPRLqxfioYMF9w6gCtAgI 0S+VwoygQJEzwAWgS0yhgOhsY13BQUEL06h3hAmXZcH6B9gkRtyniWKRUsG5mrR6N3ClopS2w7MC aW8Bj8vtcYPH9gE+BZTNjy/W2/bN/AWhpRWJux0gpQAAAABJRU5ErkJggg== Mail-Copies-To: never X-Now-Playing: James & David Figurine's _James & David Figurine_: "James Figurine - The Adventures of James Figurine" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:MRce17Fdz693JY7PfTzKaU9cajg= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:129992 Archived-At: Lars Magne Ingebrigtsen writes: > Ok; I'll do some benchmarking over the weekend. (If I find the time > after reimplementing nnimap.el.) I've done some simple benchmarking by just disabling the rfc2047-decoding in one Emacs and comparing group entry with decoding versus group entry without decoding. (The assumption is that a C-implemented rfc2047-decode-string would take zero time. :-) I tried various groups, and selected 10K articles. Entry time was between 5s and 10s with decoding. With the decoding disabled, group entry was 15-20% faster. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen