From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: 'struct window' cleanup #2 Date: Mon, 25 Jun 2012 10:53:58 -0400 Message-ID: References: <4FE827B6.6020306@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1340636059 18017 80.91.229.3 (25 Jun 2012 14:54:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 25 Jun 2012 14:54:19 +0000 (UTC) Cc: Emacs development discussions To: Dmitry Antipov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 25 16:54:19 2012 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 1SjAgE-0008Oo-3K for ged-emacs-devel@m.gmane.org; Mon, 25 Jun 2012 16:54:18 +0200 Original-Received: from localhost ([::1]:49844 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjAgE-0003Kp-3Q for ged-emacs-devel@m.gmane.org; Mon, 25 Jun 2012 10:54:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjAg7-0003Jk-Ce for emacs-devel@gnu.org; Mon, 25 Jun 2012 10:54:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SjAfx-0004Th-3K for emacs-devel@gnu.org; Mon, 25 Jun 2012 10:54:10 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:31781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjAfw-0004Ss-W1 for emacs-devel@gnu.org; Mon, 25 Jun 2012 10:54:01 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu0/O+L+Q/2dsb2JhbABEtBGBCIIVAQEEAScvIwULCw4mEhQYDSSIHAW6CZBEA6MzgViDBQ X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="192052947" Original-Received: from 206-248-191-144.dsl.teksavvy.com (HELO pastel.home) ([206.248.191.144]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 25 Jun 2012 10:53:59 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 1C9FB4E42A; Mon, 25 Jun 2012 10:53:58 -0400 (EDT) In-Reply-To: <4FE827B6.6020306@yandex.ru> (Dmitry Antipov's message of "Mon, 25 Jun 2012 12:56:22 +0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 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:151156 Archived-At: > For a `struct window', changing the type of `last_point', `last_modified' > and `last_overlay_modified' from Lisp_Object to appropriate integral > value eliminates a lot of useless Lisp_Object <-> {EMACS_INT, ptrdiff_t} > conversions in a window and redisplay code; and, of course, lesser Lisp_Objects > means a bit faster GC. OK to install? hscroll and min_hscroll are good candidates as well. Stefan