From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Pettersson Newsgroups: gmane.emacs.bugs Subject: bug#69241: Fixed patch issues Date: Sun, 10 Mar 2024 15:28:21 +0100 Message-ID: References: <86msr7ye9h.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33825"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 69241@debbugs.gnu.org, Eli Zaretskii To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 10 15:29:55 2024 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 1rjKBX-0008i5-Rk for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Mar 2024 15:29:55 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rjKBD-0005qU-Vp; Sun, 10 Mar 2024 10:29:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rjKB7-0005q7-Eh for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2024 10:29:30 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rjKB7-00071X-6m for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2024 10:29:29 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rjKBe-0002kx-6K for bug-gnu-emacs@gnu.org; Sun, 10 Mar 2024 10:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Pettersson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Mar 2024 14:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69241 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 69241-submit@debbugs.gnu.org id=B69241.171008094410510 (code B ref 69241); Sun, 10 Mar 2024 14:30:02 +0000 Original-Received: (at 69241) by debbugs.gnu.org; 10 Mar 2024 14:29:04 +0000 Original-Received: from localhost ([127.0.0.1]:37676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjKAi-0002jR-4y for submit@debbugs.gnu.org; Sun, 10 Mar 2024 10:29:04 -0400 Original-Received: from mail-lj1-f181.google.com ([209.85.208.181]:55734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjKAg-0002ix-FL for 69241@debbugs.gnu.org; Sun, 10 Mar 2024 10:29:03 -0400 Original-Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-2d4141c4438so50988341fa.3 for <69241@debbugs.gnu.org>; Sun, 10 Mar 2024 07:28:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710080903; x=1710685703; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=dLJuuHeZT/2A77x6YQL+pcAIGmYLKnQcPPgY2t6XSI8=; b=SESawuF9A86epsIBUsxPr3bI0EDYgGP8qf8NBPwipzyu7pBKH72NZUB6H/lDLgpMoD fjC3itvcPJ884/AbuXD72vbEChK2c1lzjCSIsGuhTSCFJ3bmHVKjyPWowuMCRrKFcqDd qOtMw3tuF+4mlVN5LyksR38ga+81PXn7Qvt+0bsjze9es1oixrUFDir4+Sv7aIcYnSyQ Xt6kcJyT5MyQ6qXH9F7CRo/RUHoiRLYBcJAU+4dDKImnRQ9RKoNbKuISgb+Jatiq1hhZ iFHht4Tb82p2X+sQP8YGVUQJn9oP9WXLVeuseAoUSqpbAzBL4GSGTfkqnozvVagDw8C0 qOng== X-Forwarded-Encrypted: i=1; AJvYcCVrVzjnIU9dzLbiIl1eaimlZpHYK/vSeBDYg3k4tbapqbAzwOFqPLeCgLWM2GcLksrGJFneW/C5slRvFoTpztu8Y32g/70= X-Gm-Message-State: AOJu0YycqaOVW41RGHUBetQbi0973uYflOFIPOBNSy9nq2fRjsXNJdyZ A7pQ8e8h7ItinCo8Z2DvGc7c3xOpZ6q12x9UHF2LRr1RTftxe865mmEO6mXE X-Google-Smtp-Source: AGHT+IHaBA0ka1WR6su1W7YLJytGXIL9xAFoYxS4em7BPz3XbyoSOY+Bzb6so7wP45G0ddafwZ4PXQ== X-Received: by 2002:a2e:909a:0:b0:2d2:f0f9:af0 with SMTP id l26-20020a2e909a000000b002d2f0f90af0mr2615165ljg.37.1710080902915; Sun, 10 Mar 2024 07:28:22 -0700 (PDT) Original-Received: from Daniels-Air (c-72cde455.027-357-6d6c6d4.bbcust.telenor.se. [85.228.205.114]) by smtp.gmail.com with ESMTPSA id y21-20020a2e7d15000000b002d2dfe8a36csm700527ljc.96.2024.03.10.07.28.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Mar 2024 07:28:22 -0700 (PDT) In-Reply-To: ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Sat, 9 Mar 2024 10:56:22 +0000") 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:281397 Archived-At: Jo=C3=A3o T=C3=A1vora writes: > From where I stand, Daniel Pettersson is the new Jsonrpc maintainer. I'd= give > him push rights so he can install this and push any follow-up fixes easil= y. As I have previously stated I am willing to take on the maintainer role for Jsonrpc.=20=20 > + ;; `timer-activate' orders timers by time, which is an > + ;; very expensive operation when jsonrpc-mqueue is large, > + ;; therefore the time object is reused for each timer > + ;; created. I am interested in what both of you think about relying on undocumented behavior. To grasp the scope of this issue, an adapter server sent 50 000 messages. With `read-process-output-max' set to the platforms max, each of those messages where placed on `timer-list' in the same call to jsonrpc's filter function, which then had to be sorted as O(N^2) (calls to timer--time-less-p).=20 Which makes Jsonrpc unusable for that particular server.