From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: persistent data feature Date: Fri, 10 Dec 2021 07:23:29 +0100 Message-ID: <877dcd0yhq.fsf@gnus.org> References: <87tufmjyai.fsf@gnus.org> <877dcil2sj.fsf@ericabrahamsen.net> <87czm98qi1.fsf@gnu.org> <87o85tcwm0.fsf@ericabrahamsen.net> <874k7ljwkr.fsf@gnus.org> <87fsr5cuzq.fsf@ericabrahamsen.net> <878rwx8mdn.fsf@gnu.org> <87r1aphuei.fsf@gnus.org> <837dcex6ub.fsf@gnu.org> <87bl1p10js.fsf@gnus.org> <87fsr157q1.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39545"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Richard Stallman , eric@ericabrahamsen.net, cesar.mena@gmail.com, emacs-devel@gnu.org, Pip Cet , eliz@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 10 07:27:36 2021 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 1mvZNX-000A7V-Tr for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Dec 2021 07:27:35 +0100 Original-Received: from localhost ([::1]:33780 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvZNW-0005Ot-3E for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Dec 2021 01:27:34 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36460) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvZJo-0003nZ-Sw for emacs-devel@gnu.org; Fri, 10 Dec 2021 01:23:45 -0500 Original-Received: from [2a01:4f9:2b:f0f::2] (port=41624 helo=quimby.gnus.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvZJm-0005N9-29; Fri, 10 Dec 2021 01:23:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=NffYOE1QQh2Vi9ZRUbq6TlqSzsQG5x9QeV8qWB8Op58=; b=PouH2lDHz33QY4+Fb0GrMfKupv yawpKeCSApmeMvX5TPN2lZf5UqGomAdM9z753pZT5ERm4ga0RYCrMeKwrsw2tggEjZhF6iJBUt/v7 vqLlFXwzrTh7RLWf0CCZAPxYC20FACrX0/j81wBf3y9EE72UyCrZts/8ngA3YqSj8ZPw=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mvZJe-0000Sb-4j; Fri, 10 Dec 2021 07:23:36 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEV/f389PECsrar/ //+EuRA8AAAAAWJLR0QDEQxM8gAAAAd0SU1FB+UMCgYTMGOrIHgAAAGPSURBVCjPVZHBattQEEXH wgL3rYRgoNXKeKXqKxSQu9DKMm+y0Bck+grVJGC0SqCGLiVDiny/svfJ6aLaHd07c2fmyeog4orZ zPYmIpstQcQa5W+MQAAflLIvgPfIPBXZEm6sqVRGGhwmgq1FYrUhwFofZIzNigDoD9LHTYMFcKLS NHcFV5njFEPoFsJwxc9gOwAg2ApUHnGCDKN9IRwEvQQlQCkbDnPaBdu0t6+pSbKr8OLtockyTr3D h4+sZjOOuc1ec7X6927bC5D9iUurk4qbAkms69R9gloepcO3f7CpjkOYZoHajr0WUCki9aW0t7Jz KlvR0qSdiprgoFz8OM01bWf3ZubTKa+xEu8uvFI2zh27iV20PRfXW4eBrX/1GXjTbsnJi7NzeO2w JgDDdcBHB13g/QeCEsDxFAMuHRLBzEf4/ET4nNx5vuanSDzuwMRIKvg7BJuHV4bPrmBJQtuTHudW SDVtz+alxagSUXneH/tWzVhn+t0e+9buYP9Bzutkas0CjAhAReIFUsJfPeXVZjROGZ0AAAAldEVY dGRhdGU6Y3JlYXRlADIwMjEtMTItMTBUMDY6MTk6NDgrMDA6MDCnGp+MAAAAJXRFWHRkYXRlOm1v ZGlmeQAyMDIxLTEyLTEwVDA2OjE5OjQ4KzAwOjAw1kcnMAAAAABJRU5ErkJggg== X-Now-Playing: David Bowie's _Ziggy Stardust And The Spiders From Mars (2)_: "Time" In-Reply-To: <87fsr157q1.fsf@yahoo.com> (Po Lu's message of "Fri, 10 Dec 2021 13:50:30 +0800") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:4f9:2b:f0f::2 (failed) Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 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_MED=-2.3, RDNS_NONE=0.793, 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.29 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:281571 Archived-At: Po Lu writes: > But for uses such as storing a list of recently used Emoji, is a "slower > interface" really such an important downside? Especially since the list > of recently used Emoji will be stored in a ring of some arbitrary (but > small) size. Yeah, most bits that are stored will be small. But in aggregate, if this feature is used as much as I think it will be, then the storage will be large. > I suspect that the use-cases which require storing a large amount of > data (such as the Gnus registry) will generally opt to use sqlite3 > directly, instead of going through the "sticky value" system (which > involves printing Lisp data to a string, storing it as a string in the > database, and reading it back again). Yup. > What if someone else does? Are patches welcome? Sure, if they handle the semantics in a nice enough way. (I.e., not making it slower, have the same concurrency guarantees, allow the same storage browsing, etc.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no