From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.bugs Subject: bug#52753: 29.0.50; Printing long list-like structures fails Date: Sun, 30 Jan 2022 11:16:24 +0100 Message-ID: References: <22AEBE6E-68E7-47D9-885C-AE6621AF4AEE@acm.org> <87o856b7ak.fsf@localhost> <5D2E995F-7A93-4A75-8AE9-AFCE02399D4E@acm.org> <8735le7ha7.fsf@localhost> <878ruxd1ni.fsf@localhost> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32781"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52753@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 30 11:17:57 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nE7HR-0008Mg-J2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 Jan 2022 11:17:57 +0100 Original-Received: from localhost ([::1]:42186 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nE7HQ-0003vW-7b for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 30 Jan 2022 05:17:56 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nE7Gp-0003k2-FC for bug-gnu-emacs@gnu.org; Sun, 30 Jan 2022 05:17:19 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42728) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nE7GY-0002VR-0L for bug-gnu-emacs@gnu.org; Sun, 30 Jan 2022 05:17:19 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nE7GX-0004sm-QQ for bug-gnu-emacs@gnu.org; Sun, 30 Jan 2022 05:17:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Jan 2022 10:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52753 X-GNU-PR-Package: emacs Original-Received: via spool by 52753-submit@debbugs.gnu.org id=B52753.164353779918733 (code B ref 52753); Sun, 30 Jan 2022 10:17:01 +0000 Original-Received: (at 52753) by debbugs.gnu.org; 30 Jan 2022 10:16:39 +0000 Original-Received: from localhost ([127.0.0.1]:35630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nE7GB-0004s4-KF for submit@debbugs.gnu.org; Sun, 30 Jan 2022 05:16:39 -0500 Original-Received: from mail1437c50.megamailservers.eu ([91.136.14.37]:49974 helo=mail263c50.megamailservers.eu) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nE7G7-0004rd-4y for 52753@debbugs.gnu.org; Sun, 30 Jan 2022 05:16:38 -0500 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1643537787; bh=ryHJJaNjws0HONxFHhkIHVaL6k8eRzjYpO0GblcBexE=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=SrFxS4vOW7AqtTz3xxq7nixu7K7z3ARsle5AHM6f7vWucaZVkdvDEJzEejGdjZxB6 PiR2EhkKxrcFc8A7cq7hGnkofLKJBmoqbO5msyvpiCFhd8xayw+O3fIodyLwOmJ3yq C/vVbd9dyMS/XndElmYyTRWxOqUAW3U698tBIXwQ= Feedback-ID: mattiase@acm.or Original-Received: from smtpclient.apple (c-b952e353.032-75-73746f71.bbcust.telenor.se [83.227.82.185]) (authenticated bits=0) by mail263c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 20UAGPgh015048; Sun, 30 Jan 2022 10:16:26 +0000 In-Reply-To: <878ruxd1ni.fsf@localhost> X-Mailer: Apple Mail (2.3654.120.0.1.13) X-CTCH-RefID: str=0001.0A742F25.61F6657B.0038, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-Origin-Country: SE X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:225594 Archived-At: 30 jan. 2022 kl. 10.16 skrev Ihor Radchenko : > the speedup will only be relevant when > explicitly allocated C arrays are used to store B-tree segments: all = the > tree data must be physically located within continuous segment of RAM > address space. Lisp vectors are contiguous in memory, and your keys are small integers = and thus unboxed. > People do say > that splay trees can be good, but never have real world examples. The trouble with splay trees seems to be that they require a very skewed = access distribution to be worthwhile -- every read of something that = isn't the latest accessed element becomes a tree modification. But that = implies that the access pattern exhibits spatial and/or temporal = locality, which makes caching an attractive alternative (explicit or = those in your computer).