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: Compiling Elisp to a native code with a GCC plugin Date: Fri, 17 Sep 2010 21:40:45 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <87bp805ecr.fsf@gmail.com> <87iq26z97e.fsf@uwakimon.sk.tsukuba.ac.jp> <87y6b0yi8o.fsf@uwakimon.sk.tsukuba.ac.jp> <87mxrgxo8r.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1284753258 23032 80.91.229.12 (17 Sep 2010 19:54:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Sep 2010 19:54:18 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 17 21:54:17 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 1Owgy2-00017u-UH for ged-emacs-devel@m.gmane.org; Fri, 17 Sep 2010 21:54:16 +0200 Original-Received: from localhost ([127.0.0.1]:34328 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Owgu2-0004pO-Ou for ged-emacs-devel@m.gmane.org; Fri, 17 Sep 2010 15:47:22 -0400 Original-Received: from [140.186.70.92] (port=33152 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Owgpl-0003Gv-7O for emacs-devel@gnu.org; Fri, 17 Sep 2010 15:47:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Owgnt-0002Lv-RV for emacs-devel@gnu.org; Fri, 17 Sep 2010 15:41:05 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:52962) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Owgnt-0002Lg-Fv for emacs-devel@gnu.org; Fri, 17 Sep 2010 15:41:01 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Owgnn-00084Y-T4 for emacs-devel@gnu.org; Fri, 17 Sep 2010 21:40:55 +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 ; Fri, 17 Sep 2010 21:40:55 +0200 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 17 Sep 2010 21:40:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-Lines: 33 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEWJn51XRzrP0c0xJCFV dW/u8u4WDxBPNClkWEdRPDK5jiW4AAACR0lEQVQ4jV2TQYrjMBBFRchili3ajOVdE5gDBAUl3jm0 FskBfAKD9qEHZO8i2uDyUqiZWLedkqV43FNgAv/l66vKZdLwudhLJe9bMLorOs+sARJ1XlUBjNPD +5aO1hdr8CKN1Vq3cPXerkCPYLJFkReF9Z5w8Q1M0zhcL9BLdAjVPEF+m6b8bIzJfhChgs6rvjSn s24HDPGFp4YopcJR8sXlp1wzMAOYCwALANHh/cv538OthYEyCgamGXBefgIfjzqn8ICpRUNLXMMx 5eR6N/JOMzOwcTIwdkTsf6Ln9LnnHHO7h20HABgZXhf1Zu+citdDqi0DiOGKCiWESCxAHkETsWqa huvjPIr/AQ+yttSnPlaOo+4sjaBRQj0J6qG6YgaN4K9KlaX3LmV3PoGRyopU5G231JwhuJRbWUkS Kqi/6hqBEH9eA8Ai22oB2JF7/ZSpiKw2bxHs95Ze35N+xo3YJMfhK5PnBUh5f4KvLJPyuoBttdm9 7WoEQZfXTC4puycIf6T0qVfppJrINSBk1iPIsqu33JeZ7Gc5Gur0opqSstA8+QYablk4HrubHfXi iHtNJT88o+NIYh0/OG83JBlqkt4M1sMXjPxz4A7HolhsMdSEzgI+QHGbNpsVCAoyb1ne3lcOwKXH 9cZCB+yWcN1LedEGw29ah5dBUngfZhRMSyUQp3eBeZvWACcbJg/zN9AGkDI8LfCuGKPx5xvAT9Rb Kodb7GQBRejaWnpp04XvCThXco6IoXiHFcC5lq509ozavJ+p878Nd2dXfIPfEQAAAABJRU5ErkJg gg== Mail-Copies-To: never X-Now-Playing: Joni Mitchell's _Miles of Aisles_: "Cactus Tree" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:dWg9V3IQAHSX4ewgJPNeZ+KDSEk= 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:130357 Archived-At: "Stephen J. Turnbull" writes: > Then, again, it looks like David has discovered at least one bug > (texts with different values of multibyteness), maybe more (bounds > checking and integral type confusion), in your "totally trivial" > implementation already. Well, I didn't say the trivial code was bug-free. :-) > First, I'm curious which machine and what data (buffer) you're using > that took 9 seconds to run that benchmark. I was running it over the gnus-sum.el file. > So, is it really Gnus's habit to execute that form 10,000 times in a > loop so that its execution time dominates the user's perceived lag > time? I bet that most uses involve parsing 20-40 RFC 822-style > headers, and the rest parse lines lazily. If so, even the reported 9 > second benchmark really amounts to a total of 50-100ms, which is less > than the "just noticable difference" for a fast human. The reason I thought of this again now is that I'm doing IMAP handling. The only way in IMAP to get info on marks and stuff it to get one line per message, so if you have a 100K mail box, it's going to take some time to sync up your marks. Your example of "20-40" is somewhat irrelevant. Of course everything is fast enough if you just have little enough data. The problem is getting things to work fast enough in the presence of a lot of data. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen