From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Semyonov Newsgroups: gmane.emacs.devel Subject: Re: Copyright assignment and questions about package submission Date: Sun, 27 Dec 2020 11:30:57 +0200 Message-ID: <87lfdj1tpq.fsf@dsemy.com> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24383"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 27 10:33:06 2020 Return-path: Envelope-to: ged-emacs-devel@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 1ktSQE-0006Fy-Cr for ged-emacs-devel@m.gmane-mx.org; Sun, 27 Dec 2020 10:33:06 +0100 Original-Received: from localhost ([::1]:51114 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktSQD-0006Fa-Af for ged-emacs-devel@m.gmane-mx.org; Sun, 27 Dec 2020 04:33:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktSOQ-0005Yf-7J for emacs-devel@gnu.org; Sun, 27 Dec 2020 04:31:18 -0500 Original-Received: from mout-p-202.mailbox.org ([2001:67c:2050::465:202]:18574) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1ktSON-0001fp-Pq for emacs-devel@gnu.org; Sun, 27 Dec 2020 04:31:13 -0500 Original-Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4D3b5j6y6bzQlS8; Sun, 27 Dec 2020 10:31:05 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dsemy.com; s=MBO0001; t=1609061464; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to; bh=zpdlTMyHgjYkdqTjyHFENp85gOg0l9MZxjxCEU7Ilh8=; b=M9I1vd7zZCnVRLJmMGGM2hkm9oJ/WFegcWVeKlENVJ7zXeqFMfRreyFZHmlLWyRfiOcHRo Lb04VlOp1uoIyEc56OcqDuouigo7AUWhcYwDyZUXGEVUTtqnmHU/tYFlE2SDEq6ocLvd5x x/9TvQOblscnRxNvqamIzqJiTaS1pplIFXloWZ5HGXb9sqMqex0Qsds5JmhhBvRz8UmUlB mfzV9r0f/2VAKwZ2kjy83H95xuw7nKG3ainr8cmQf6/lKXPYHc0OvR4FP3WW8RrqSszins gq4Ixa0/L4FFwUOYFQegKS2M4UYlmn655TJiFhorw7aWq/z1ac8fNuHmI2Pgqw== Original-Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de [80.241.56.116]) (amavisd-new, port 10030) with ESMTP id ACNi2odB4Aoe; Sun, 27 Dec 2020 10:31:02 +0100 (CET) In-Reply-To: (message from Stefan Monnier on Sat, 26 Dec 2020 17:13:51 -0500) X-Rspamd-Score: -1.52 / 15.00 / 15.00 X-Rspamd-Queue-Id: E3E0E91E X-Rspamd-UID: 9129ea Received-SPF: pass client-ip=2001:67c:2050::465:202; envelope-from=cmstr@dsemy.com; helo=mout-p-202.mailbox.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:261898 Archived-At: > Actually, it looks like a simple error where you used division instead > of logarithm, thus constructing a `sws-ids` that's exponentially longer > than the one you need. The patch below makes it usable for me. Thanks, I've applied the patch (with minor modifications). > [ I'd still argue that you shouldn't bother to construct the whole > `sws-ids` list but instead keep a counter which lets you build the > "next" id on the fly. But that's up to you. ] I've done some testing with a large number of windows (with the patch applied) and building the list doesn't seem to introduce any noticeable delay. I do agree that it isn't a very clean solution though. I'll see if I can implement this in a better way.