From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: handa Newsgroups: gmane.emacs.devel Subject: Re: Loading souce Elisp faster Date: Mon, 11 Mar 2013 00:19:23 +0900 Message-ID: <874ngjl1tw.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1362929029 28216 80.91.229.3 (10 Mar 2013 15:23:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Mar 2013 15:23:49 +0000 (UTC) Cc: lennart.borgman@gmail.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 10 16:24:13 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 1UEi6f-0002Uy-Gr for ged-emacs-devel@m.gmane.org; Sun, 10 Mar 2013 16:24:13 +0100 Original-Received: from localhost ([::1]:51504 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEi6J-0003Cr-EO for ged-emacs-devel@m.gmane.org; Sun, 10 Mar 2013 11:23:51 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEi6E-0003CV-Jp for emacs-devel@gnu.org; Sun, 10 Mar 2013 11:23:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UEi6D-0006hK-12 for emacs-devel@gnu.org; Sun, 10 Mar 2013 11:23:46 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEi6C-0006hF-Tf for emacs-devel@gnu.org; Sun, 10 Mar 2013 11:23:44 -0400 Original-Received: from 253.240.accsnet.ne.jp ([202.220.240.253]:45359 helo=mongkok) by fencepost.gnu.org with esmtpa (Exim 4.71) (envelope-from ) id 1UEi64-0006s1-S7; Sun, 10 Mar 2013 11:23:37 -0400 In-Reply-To: (message from Richard Stallman on Thu, 28 Feb 2013 21:12:36 -0500) 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:157695 Archived-At: In article , Richard Stallman writes: > I think the > better place of tuning is in the function decode_coding. > Please go ahead and do it. I've just installed a code of optimizing ASCII file decoding. I added that code in decode_coding_gap instead of decode_coding because that was easier and what should be tuned in mainly the file insertion. Currently the optimization work only when you explicitely specify such ASCII compatible coding systems as utf-8-unix and iso-8859-1-unix for ASCII only files. When you compile Emacs as this: % make CFLAGS=-DCODING_DISABLE_ASCII_OPTIMIZATION the optimization is disabled so that the effect of the optimization can be checked. The next tuning I am working on is for the case you don't specify *-unix explicitly, and also for the case of utf-8 files (which need no decoding but need character counting). --- Kenichi Handa handa@gnu.org