[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sqlite3
From: |
LdBeth |
Subject: |
Re: sqlite3 |
Date: |
Sat, 18 Dec 2021 16:52:03 +0800 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (Gojō) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.2 (x86_64-apple-darwin18.7.0) MULE/6.0 (HANACHIRUSATO) |
On Sat, 18 Dec 2021 15:53:04 +0800,
Qiantan Hong wrote:
>
> Therefore I conclude that maybe preserving EQness in persistent store
> does not make that much sense (otherwise why it can only be preserved
> partially?).
>
> I do see practical usefulness of partial EQness preservation.
It seems no one has yet pointed out "preserving EQness" is actually
hash-consing[1], a technique has been developed in Lisp and now well
known in Functional Programming communities.
It has main features that:
1. Keeps only one copy of (structurally) EQUAL objects and therefore
2. reduce storage usage
3. reduce the time needed to do a EQUAL comparsion to EQ.
4. useful for function memoization
It is definitely useful, but I think we could make it into a separated
package, probably.
[1]: A. .P. Ershov. On Programming of Arithmetic Operations. In the
Communications of the ACM, Volume 118, Number 3, August, 1958, pages
427–430.
- Re: sqlite3, (continued)
- Re: sqlite3, Lars Ingebrigtsen, 2021/12/14
- Re: sqlite3, Eli Zaretskii, 2021/12/14
- Re: sqlite3, Lars Ingebrigtsen, 2021/12/14
- Re: sqlite3, Qiantan Hong, 2021/12/14
- Re: sqlite3, Lars Ingebrigtsen, 2021/12/14
- Re: sqlite3, Richard Stallman, 2021/12/16
- Re: sqlite3, Lars Ingebrigtsen, 2021/12/17
- Re: sqlite3, Richard Stallman, 2021/12/17
- Re: sqlite3, Lars Ingebrigtsen, 2021/12/18
- Re: sqlite3, Qiantan Hong, 2021/12/18
- Re: sqlite3,
LdBeth <=
- Re: sqlite3, Qiantan Hong, 2021/12/18
- Re: sqlite3, Tomas Hlavaty, 2021/12/18
- Hash consing (was: Re: sqlite3), Po Lu, 2021/12/18
- Re: sqlite3, LdBeth, 2021/12/18
- Re: Hash consing (was: Re: sqlite3), Philipp, 2021/12/18
- RE: [External] : Re: Hash consing (was: Re: sqlite3), Drew Adams, 2021/12/18
- RE: [External] : Re: Hash consing (was: Re: sqlite3), Tomas Hlavaty, 2021/12/18
- RE: [External] : Re: Hash consing (was: Re: sqlite3), Drew Adams, 2021/12/18
- Re: sqlite3, Richard Stallman, 2021/12/16
- RE: sqlite3, Drew Adams, 2021/12/14