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: sqlite3 Date: Tue, 14 Dec 2021 17:01:11 +0100 Message-ID: <8735mvp454.fsf@gnus.org> References: <87tufmjyai.fsf@gnus.org> <87lf0nr2b4.fsf@gnus.org> <87fsqvp5ae.fsf@gnus.org> <87bl1jp51y.fsf@gnus.org> <187323C2-81D0-47B6-96C8-3D721EF7C003@mit.edu> 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="34580"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: "emacs-devel@gnu.org" To: Qiantan Hong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 14 17:03:13 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 1mxAGn-0008oC-BN for ged-emacs-devel@m.gmane-mx.org; Tue, 14 Dec 2021 17:03:13 +0100 Original-Received: from localhost ([::1]:59050 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxAGl-0000M1-RW for ged-emacs-devel@m.gmane-mx.org; Tue, 14 Dec 2021 11:03:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34520) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxAF3-0006em-Or for emacs-devel@gnu.org; Tue, 14 Dec 2021 11:01:25 -0500 Original-Received: from [2a01:4f9:2b:f0f::2] (port=60186 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 1mxAF0-0001hB-3X for emacs-devel@gnu.org; Tue, 14 Dec 2021 11:01:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=Tnt8tKeygrGs4CJbP5kye2r/2owTdsfxJ5RUMDpMG60=; b=UcRLlwDcoQvKVabDi/FMC303H8 U1gpHWGzK8cTBxtrUZDyn+7USapjX0uwO37yqYAgJ3fuiZMY/yRQR2kzEB8YLpgUgKbks3FUFPwIw IyGjw7kvCPyFz/DjWPjrVCGm3vqo4E3aY8TDf65BXS4BUaeI1fCsP6ei+76YeJdFoP6Y=; 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 1mxAEq-00024Q-2d; Tue, 14 Dec 2021 17:01:18 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEUVFBNsaWKFgXiy rKDo4ND///9JTNw2AAAAAWJLR0QF+G/pxwAAAAd0SU1FB+UMDg82LB/qAAgAAAGuSURBVDjLpZRr 0p0gDIYTdAEJugBBFsBtASrsf00NXj49p3amnWb8oT7kfSEEAFnCMmujrcT+1QLaGxt+hH2AZ+hH BhoizZoAjDVNd8IG0IAAxUZAQJHVQBiBSYAVoJkBJ0CjZ9AnwAFIixZ0JIAtWDiAluRdQmyU4dBZ OgCzmAugIKomsNYm7ubiS0ObaLCzkRFtrcDasrF2jvaMZOOcUgKXaqy5fkT7BPf18wpw9f9AuUH+ i4yc0j97lBTzHzJWDPp1VgGX7hWkeFTkN1BCfgW1RPdmHoq1AnX+BCl54NnVso3fZc/kxCHQ+CVV KnUepb2EfoAg/4CgTpvOByinHo1rJwWnMegdlNQeiWX00mqgXI07SFeKFynofH9ON+WrTYLHOrlN HUBGXxu0bqpOysMB0r3TCzctCntJUr37rfiB+mjxrNXdGts2egToGxgfCdQWyHJspCYw3AnUHNQK Mpor6J8EmSqcMU8ZhnSCgrggFjlbkFUQqWsNi5OhuAJWUmIgz+UwQfOGfsOgnmX34LgKQujLx0YR xE7q3tAqCwEtB9Gc187jQnm5ZE7yC1jDyqqD/HG9AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTEy LTE0VDE1OjU0OjQ0KzAwOjAw0WnM9QAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0xMi0xNFQxNTo1 NDo0NCswMDowMKA0dEkAAAAASUVORK5CYII= X-Now-Playing: Cirkus Modern's _Cirkus Modern_: "Besettelse" In-Reply-To: <187323C2-81D0-47B6-96C8-3D721EF7C003@mit.edu> (Qiantan Hong's message of "Tue, 14 Dec 2021 15:48:43 +0000") 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:281915 Archived-At: Qiantan Hong writes: > They don=E2=80=99t really make sense when storing to=20 > external storage, at least for all the mechanisms > either you or I have. Because our storage mechanism > doesn=E2=80=99t preserve intensional identity (=E2=80=9Cobject identity= =E2=80=9D), > i.e. if two objects are EQ, we store them into different key, > they might be read back not EQ. We only store extensional > value. In such case, circular list are no different from > an infinite non-circular list, which doesn=E2=80=99t make sense. We don't preserve EQ-ness of objects, but it's still nice to be able to store a list where the same object appears a number of time (and get out a list from the storage where that's still true). > Plus it=E2=80=99s not very common in practice to store circular list > in something one may want to make persistent. Mostly > it=E2=80=99s some history variable or so that is push into/delete from, > neither will make it circular. We don't use circular lists a lot, but we do have rings, and it's nice to be able to store them. I feel that an append-only list storage thing is a totally separate thing from persistent variables. There's many different things that could be taken into consideration when merging elements from different instances, for instance.=20=20 --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no