From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#25122: 24.5; function describe-variable hangs on large variables Date: Sun, 12 Mar 2017 10:07:39 -0400 Message-ID: References: <20161206022112.GF25778@E15-2016.optimum.net> <87twahk19y.fsf@gmail.com> <87d1h4fld5.fsf@users.sourceforge.net> <871sxkyv2m.fsf@gmail.com> <87mvcs8j7w.fsf@users.sourceforge.net> <87lgsbtxwe.fsf@gmail.com> <871su38ogm.fsf@users.sourceforge.net> <87d1dnrq96.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1489327695 17137 195.159.176.226 (12 Mar 2017 14:08:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 12 Mar 2017 14:08:15 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: 25122@debbugs.gnu.org, Boruch Baum , npostavs@users.sourceforge.net To: Thierry Volpiatto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 12 15:08:11 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cn4AI-0003Uk-1A for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Mar 2017 15:08:06 +0100 Original-Received: from localhost ([::1]:47178 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cn4AO-0007Eb-3U for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Mar 2017 10:08:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cn4AI-0007EV-70 for bug-gnu-emacs@gnu.org; Sun, 12 Mar 2017 10:08:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cn4AE-00048u-2h for bug-gnu-emacs@gnu.org; Sun, 12 Mar 2017 10:08:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54533) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cn4AD-00048o-Vl for bug-gnu-emacs@gnu.org; Sun, 12 Mar 2017 10:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cn4AD-0004JZ-QF for bug-gnu-emacs@gnu.org; Sun, 12 Mar 2017 10:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Mar 2017 14:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25122 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25122-submit@debbugs.gnu.org id=B25122.148932766716563 (code B ref 25122); Sun, 12 Mar 2017 14:08:01 +0000 Original-Received: (at 25122) by debbugs.gnu.org; 12 Mar 2017 14:07:47 +0000 Original-Received: from localhost ([127.0.0.1]:52732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cn49y-0004J5-Si for submit@debbugs.gnu.org; Sun, 12 Mar 2017 10:07:47 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:7823) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cn49x-0004Is-Fk for 25122@debbugs.gnu.org; Sun, 12 Mar 2017 10:07:45 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0BACQCZVcVY/9TkSC1cGgEBAQECAQEBAQgBAQEBg1FBhDyFV4V4kFwpAZcfhhwEAgKCQEQUAQIBAQEBAQEBayiFFgEEAVYjBQsLNBIUGA0kigsIs3yKXQEBAQEGAiaLPYo5AQScQZQciGCGYpNDNiGBBCMWCCyFGB2BfySKIwEBAQ X-IPAS-Result: A0BACQCZVcVY/9TkSC1cGgEBAQECAQEBAQgBAQEBg1FBhDyFV4V4kFwpAZcfhhwEAgKCQEQUAQIBAQEBAQEBayiFFgEEAVYjBQsLNBIUGA0kigsIs3yKXQEBAQEGAiaLPYo5AQScQZQciGCGYpNDNiGBBCMWCCyFGB2BfySKIwEBAQ X-IronPort-AV: E=Sophos;i="5.36,152,1486443600"; d="scan'208";a="295082940" Original-Received: from 45-72-228-212.cpe.teksavvy.com (HELO pastel.home) ([45.72.228.212]) by smtp.teksavvy.com with ESMTP; 12 Mar 2017 10:07:39 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 949C06187C; Sun, 12 Mar 2017 10:07:39 -0400 (EDT) In-Reply-To: <87d1dnrq96.fsf@gmail.com> (Thierry Volpiatto's message of "Sun, 12 Mar 2017 06:57:41 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:130514 Archived-At: > That said, what's the reason of choosing the slower approach to compute > value (in a thread or not) instead of using the approach described in > the advice I sent here which takes 1s to compute load-history instead of > 3mn ? (I use this advice since one year now without any problems). Yes, we should definitely do that. I'm still not sure why it's so much faster: it indicates we have a performance bug in pp.el and all it take is to fix it. Stefan