From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: Default history-length should be higher Date: Sun, 26 Jan 2014 21:34:37 +0100 Message-ID: <87k3dm1nz6.fsf@wanadoo.es> References: <7a6753c5-cac9-4e60-be73-42467784e8eb@default> <8761p7uykd.fsf@maru2.md5i.com> <83r47ua5p8.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1390768498 19690 80.91.229.3 (26 Jan 2014 20:34:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Jan 2014 20:34:58 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 26 21:35:05 2014 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 1W7WQ5-0006dT-Ae for ged-emacs-devel@m.gmane.org; Sun, 26 Jan 2014 21:35:05 +0100 Original-Received: from localhost ([::1]:56267 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7WQ4-0007l6-RB for ged-emacs-devel@m.gmane.org; Sun, 26 Jan 2014 15:35:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7WPx-0007jG-LM for emacs-devel@gnu.org; Sun, 26 Jan 2014 15:35:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7WPr-0002CL-JO for emacs-devel@gnu.org; Sun, 26 Jan 2014 15:34:57 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:36190) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7WPr-0002CA-Ce for emacs-devel@gnu.org; Sun, 26 Jan 2014 15:34:51 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W7WPp-0006Y8-4u for emacs-devel@gnu.org; Sun, 26 Jan 2014 21:34:49 +0100 Original-Received: from 231.red-83-41-62.dynamicip.rima-tde.net ([83.41.62.231]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Jan 2014 21:34:49 +0100 Original-Received: from ofv by 231.red-83-41-62.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Jan 2014 21:34:49 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 19 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 231.red-83-41-62.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:5bE4lWVmgVtacM2hvjFNF1G46EQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:169147 Archived-At: Eli Zaretskii writes: > Did you try that? If not, please do. In my experience, your > suggestion has a downside: the GC indeed happens less frequently, but > when it does, it takes an annoyingly long time. I find it easier to > tolerate many GCs that run to completion in less than a second, than > to have a few GCs that take several seconds each. A bit of VC speleology showed this: eb6a66b5 src/alloc.c (Richard M. Stallman 1995-07-19 03:39:43 +0000 6734) gc_cons_threshold = 100000 * sizeof (Lisp_Object); So the current value of gc_cons_threshold comes from 1995. Today's low-end machines are several times faster than high-end workstations at that time. So maybe it is worth experimenting with higher values. I'll do like Bozhidar Batsov and set gc-cons-threshold to some large value and see how it goes. I'm a flx user too.