From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: 'struct window' cleanup #2 Date: Mon, 25 Jun 2012 09:22:02 -0500 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 1340634200 1589 80.91.229.3 (25 Jun 2012 14:23:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 25 Jun 2012 14:23:20 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 25 16:23:20 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 1SjACE-0001qf-QJ for ged-emacs-devel@m.gmane.org; Mon, 25 Jun 2012 16:23:18 +0200 Original-Received: from localhost ([::1]:56691 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjACE-0007cf-Mq for ged-emacs-devel@m.gmane.org; Mon, 25 Jun 2012 10:23:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38647) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjAC7-0007cV-Gh for emacs-devel@gnu.org; Mon, 25 Jun 2012 10:23:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SjABy-0005Gc-MI for emacs-devel@gnu.org; Mon, 25 Jun 2012 10:23:11 -0400 Original-Received: from mail-yw0-f51.google.com ([209.85.213.51]:45896) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjABy-0005GP-G7 for emacs-devel@gnu.org; Mon, 25 Jun 2012 10:23:02 -0400 Original-Received: by yhnn12 with SMTP id n12so2918314yhn.38 for ; Mon, 25 Jun 2012 07:23:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:mail-followup-to:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=2J+/pZeD14HXDLzqRHeECj9BASYw1Kz0iu377ezxyD0=; b=TRt9Xt1uodJAtdYCCRHDgrNKYcJ1eQsOHeE53hFNXLfzp5mleiYtL57RYTEPhYkONa 4AKxcJDhtPkhuR+6dDK/1UKc3mWU9mKbb3CgqRCDouwADUJDKIScV5TVEF6dLHii3Uhk DoJE9bpDkQ1xjSNnxKTqDb3AlgtBUfN5+ojdhqqVC+q4xASD/hd4mQZn4OGqgLH9iZZa JOQYrtqG5qd6E9UEKlEipCHvUYhRGbmv4iumQa2ZPDN2XsqqQ4eMytT5obxnU1pPI1eG mSCMI/0RKn1fERX+SxKQiPMDRr+mSt+8L9UIjsEhFu30EHMsWdsdkTBPh/s07z/zjWub vlrA== Original-Received: by 10.50.95.132 with SMTP id dk4mr8011188igb.67.1340634180620; Mon, 25 Jun 2012 07:23:00 -0700 (PDT) Original-Received: from vulcan.local (c-98-215-105-167.hsd1.il.comcast.net. [98.215.105.167]) by mx.google.com with ESMTPS id iw6sm6977762igc.15.2012.06.25.07.22.59 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 25 Jun 2012 07:22:59 -0700 (PDT) Original-Received: by vulcan.local (Postfix, from userid 501) id BE584F07ACBE; Mon, 25 Jun 2012 09:22:02 -0500 (CDT) Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: <4FE827B6.6020306@yandex.ru> (Dmitry Antipov's message of "Mon, 25 Jun 2012 12:56:22 +0400") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1 (darwin) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.213.51 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:151152 Archived-At: >>>>> Dmitry Antipov writes: > 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? Dmitry, have you measured what speed/memory advantage this change represents? I understand the theory of why it may be valuable, but what has convinced you that it's a hotspot? John