From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Loading souce Elisp faster Date: Tue, 26 Feb 2013 07:56:22 -0500 Message-ID: References: <87hal05omn.fsf@engster.org> Reply-To: rms@gnu.org NNTP-Posting-Host: plane.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1361883394 451 80.91.229.3 (26 Feb 2013 12:56:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Feb 2013 12:56:34 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: David Engster Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 26 13:56:57 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UAK5Y-00031Z-TD for ged-emacs-devel@m.gmane.org; Tue, 26 Feb 2013 13:56:57 +0100 Original-Received: from localhost ([::1]:44504 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAK5E-0004ph-6Y for ged-emacs-devel@m.gmane.org; Tue, 26 Feb 2013 07:56:36 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:33862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAK53-0004Ud-J9 for emacs-devel@gnu.org; Tue, 26 Feb 2013 07:56:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAK51-0004JX-Av for emacs-devel@gnu.org; Tue, 26 Feb 2013 07:56:25 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58506) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAK51-0004JS-6e for emacs-devel@gnu.org; Tue, 26 Feb 2013 07:56:23 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1UAK50-0005Rr-FA; Tue, 26 Feb 2013 07:56:22 -0500 In-reply-to: <87hal05omn.fsf@engster.org> (message from David Engster on Mon, 25 Feb 2013 17:45:04 +0100) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:157386 Archived-At: A very rough estimate through 'benchmark-run' indicates that `find-file-literally' is indeed about 10x faster than `find-file'. find-file-literally avoids DOING the code conversion. However, even if we use utf-8 as the default, or unconditionally, conversion would still need to be done. All we could potentially avoid with the proposal for utf-8 as default is the step of choosing the coding system heuristically. This would not make it as fast as find-file-literally. It would make it as fast as if you had a coding: tag on the first line. How much speedup is that? If we could manage to speed up the entire code conversion stage, that would be a much bigger improvement, helping every user. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use Ekiga or an ordinary phone call