From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: How to make 'load' fast in window? Date: Mon, 13 Jun 2016 16:44:56 +0300 Message-ID: <83lh29fbjb.fsf@gnu.org> References: <69267f1.4532.15547978bb7.Coremail.tumashu@163.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1465826781 12532 80.91.229.3 (13 Jun 2016 14:06:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 13 Jun 2016 14:06:21 +0000 (UTC) Cc: emacs-devel@gnu.org To: Jiege Chen , tumashu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 13 16:06:16 2016 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 1bCSU0-00073p-IS for ged-emacs-devel@m.gmane.org; Mon, 13 Jun 2016 16:04:52 +0200 Original-Received: from localhost ([::1]:56708 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCSTz-0006lf-Mp for ged-emacs-devel@m.gmane.org; Mon, 13 Jun 2016 10:04:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57828) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCS9z-0004RM-0M for emacs-devel@gnu.org; Mon, 13 Jun 2016 09:44:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCS9v-00083z-Kq for emacs-devel@gnu.org; Mon, 13 Jun 2016 09:44:10 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59207) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCS9v-00083H-HY; Mon, 13 Jun 2016 09:44:07 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3637 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bCS9t-00042m-4T; Mon, 13 Jun 2016 09:44:05 -0400 In-reply-to: (message from Jiege Chen on Mon, 13 Jun 2016 05:44:23 +0000 (UTC)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:204337 Archived-At: > From: Jiege Chen > Date: Mon, 13 Jun 2016 05:44:23 +0000 (UTC) > > tumashu wrote: > > I use "load" function to load a elisp file which include a 40M hashtable, > > In linux, it only need 1s, while in window, it need 15s, which is too slowly, > How to speed it up? I'd suggest to start by showing some details, like the file in question and the details of each of the 2 machines where you tried this. Also, is the Emacs version the same in both cases, and was it compiled using the same compiler options?