From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: BIKESHED: completion faces Date: Tue, 05 Nov 2019 19:24:13 -0500 Message-ID: References: <4c5631d4-9dfd-04c6-c573-b83c67fcc2fa@yandex.ru> <87pni7p83l.fsf@gmail.com> <87h83ipoi0.fsf@gmail.com> <3f7afc8e-b3d1-07a4-9350-3bfc5775ba21@yandex.ru> Mime-Version: 1.0 Content-Type: text/x-markdown; charset=UTF-8 Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="115760"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: =?windows-1252?B?Sm/jbyBU4XZvcmE=?= , emacs-devel To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 06 01:24:29 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iS97d-000Tzn-3n for ged-emacs-devel@m.gmane.org; Wed, 06 Nov 2019 01:24:29 +0100 Original-Received: from localhost ([::1]:51964 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iS97b-0005vT-9J for ged-emacs-devel@m.gmane.org; Tue, 05 Nov 2019 19:24:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36177) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iS97V-0005vG-7S for emacs-devel@gnu.org; Tue, 05 Nov 2019 19:24:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iS97T-0005Mp-Uk for emacs-devel@gnu.org; Tue, 05 Nov 2019 19:24:20 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:61046) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iS97T-0005Lj-Ox for emacs-devel@gnu.org; Tue, 05 Nov 2019 19:24:19 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id E9EC281249; Tue, 5 Nov 2019 19:24:17 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 2B1AC81196; Tue, 5 Nov 2019 19:24:15 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1572999855; bh=CWm7XFVIivWpY3bnnT3Al1W5lZ1oJuhislaT6Yi03wM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=cMJbRGcd73D2UiARoWH/PLz+EMk0dM4SuPqQByWg5ufUxUTS+qIi37pDa8Dc7cHLK LeHzblQbQ+6X0XUdxilwOKObFQ9rTedayWfQ1u5hFBphCLb3Je8PzU2p6bZSh27QGF /YUWwZL6uHA8/eAFpx5SWKUZtCIaarUrneZPlFtzIaSVtzRXQawDRcLjd2NjClnEAp /zaWRikvL+9HbB3Fne/oWYmCTPlWmW/l6MMea1ndfmPZvDAfvPrCQt1MbOxEJKWxsk 77Et9dmx1He5XOLLrs7BqkIjDwBA5WnfuhrUiRzB1rtbyc8tPLaYbYKysXuvuskdfw +6iCjLcP8U3Hg== Original-Received: from pastel (unknown [216.154.47.134]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id C7F3512066A; Tue, 5 Nov 2019 19:24:14 -0500 (EST) In-Reply-To: <3f7afc8e-b3d1-07a4-9350-3bfc5775ba21@yandex.ru> (Dmitry Gutov's message of "Wed, 6 Nov 2019 00:22:33 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 132.204.25.50 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:241839 Archived-At: > But as for "outside"... I was thinking of a data structure where you would > accumulate completions in a sorted tree, of sorts. And, when a new one is > added, if the maximum allowed number of completions has been reached, the > least-scored one is evicted. Or we do the eviction at the end, whatever. Sounds like a good idea, but can we move the discussion of flex's performance to some other thread? Stefan