From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#12463: 24.2; pos-visible-in-window-p gets slower over time Date: Sun, 23 Sep 2012 05:50:43 +0200 Message-ID: <83txupjt2k.fsf@gnu.org> References: <87wqzs1a4c.fsf@queen.i-did-not-set--mail-host-address--so-tickle-me> <83mx0n22p0.fsf@gnu.org> <87d31jcqce.fsf@gnu.org> <4023344.MyoQPQRfcJ@queen> <87sjac1185.fsf@gnu.org> <878vc4ylr6.fsf@gnu.org> <83pq5fyglu.fsf@gnu.org> <87d31fd8zi.fsf@gnu.org> <83fw6by2qz.fsf@gnu.org> <83a9wjxqhs.fsf@gnu.org> <83sjaawnlf.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1348372281 21468 80.91.229.3 (23 Sep 2012 03:51:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Sep 2012 03:51:21 +0000 (UTC) Cc: lekktu@gmail.com, cyd@gnu.org, jwalt@garni.ch, 12463@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 23 05:51:24 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1TFdE3-0000g7-Kk for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 Sep 2012 05:51:23 +0200 Original-Received: from localhost ([::1]:35050 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFdDz-0001Us-2k for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Sep 2012 23:51:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFdDw-0001Ug-UK for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 23:51:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TFdDw-0003zy-18 for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 23:51:16 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40454) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFdDv-0003zu-Tg for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 23:51:15 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TFdFd-0008Mh-KL for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 23:53:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 23 Sep 2012 03:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12463 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12463-submit@debbugs.gnu.org id=B12463.134837236232131 (code B ref 12463); Sun, 23 Sep 2012 03:53:01 +0000 Original-Received: (at 12463) by debbugs.gnu.org; 23 Sep 2012 03:52:42 +0000 Original-Received: from localhost ([127.0.0.1]:50000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TFdFK-0008MB-7x for submit@debbugs.gnu.org; Sat, 22 Sep 2012 23:52:42 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:38535) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TFdFJ-0008M5-4S for 12463@debbugs.gnu.org; Sat, 22 Sep 2012 23:52:41 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MAS00L00A78AA00@a-mtaout23.012.net.il> for 12463@debbugs.gnu.org; Sun, 23 Sep 2012 05:50:54 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MAS00LC5AOT6A60@a-mtaout23.012.net.il>; Sun, 23 Sep 2012 05:50:54 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:64799 Archived-At: > I'm saying: is the variable usually set once and left alone, or is it > usually let-bound around the call to the function that uses > the variable? > > In the case of dynamic-library-alist it seems it's never let-bound, so > it's probably better to access it directly as a global var, rather than > pass it as a parameter. It is never let-bound. It is modified by adding cons cells to it, and used by accessing those cells.