[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New package: resist!
From: |
Alexandre Garreau |
Subject: |
Re: New package: resist! |
Date: |
Sun, 12 Dec 2021 03:18:09 +0100 |
Le dimanĉo, 12-a de decembro 2021, 3-a horo kaj 11:29 CET Michael
Heerdegen a écrit :
> Alexandre Garreau <galex-713@galex-713.eu> writes:
>
>
>
> > Yes, you need to traverse the list, but to print a list you traverse
> > it
> > anyway. The idea of an “extensible print” is that during that
> > recursive traversing that print already does, if it encounters a
> > “object that it doesn’t know how to print”, we teach it to use a
> > function that knows how to print it in a such way that it can be read
> > again.
>
> This is what eieio-persistent does and what makes it slow. What would
> your package would have to offer then?
That’s what any serialisation method do. It’s necessary. Unless your
data is compacted adjacently into memory (some garbage collectors do that,
not all of them) so you can “serialize” by directly dumping a block of
memory onto disk. But nobody do that, because it’s unportable.
So my question is: compared to what?
Our package (actually there would likely be between 2 and 4 packages, with
between 3 and 4 layers of abstraction, but we’re talking about the highest
one) offer an interface so that some chosen variable are saved and restored
between emacs’ sessions. It’s not even a question of rapidity. And
there’s no “faster competitor”.
If you want not to have to access objects, which are all recursive, and
all of arbitrary dimension, and since they’re lisp, all able to contain
arbitrary type of data, there’s not even *one* relational database that
can handle it correctly now (or maybe is that what nosql is about? dunno).
You are talking about an inexistent feature nobody ever talked about, and
which has not been implemented before by anybody.
- Re: New package: resist!, (continued)
- Re: New package: resist!, Michael Heerdegen, 2021/12/11
- Re: New package: resist!, Alexandre Garreau, 2021/12/11
- Re: New package: resist!, Michael Heerdegen, 2021/12/11
- Re: New package: resist!, Qiantan Hong, 2021/12/11
- Re: New package: resist!, Michael Heerdegen, 2021/12/11
- Re: New package: resist!, Alexandre Garreau, 2021/12/11
- Re: New package: resist!, Michael Heerdegen, 2021/12/11
- Re: New package: resist!,
Alexandre Garreau <=
- Re: New package: resist!, Alexandre Garreau, 2021/12/11
- Re: New package: resist!, Qiantan Hong, 2021/12/11
- Re: New package: resist!, Michael Heerdegen, 2021/12/12
- Re: New package: resist!, Qiantan Hong, 2021/12/11
- Re: New package: resist!, Qiantan Hong, 2021/12/11
- Re: New package: resist!, Dmitry Gutov, 2021/12/10
- Re: New package: resist!, Stefan Monnier, 2021/12/10
- RE: [External] : Re: New package: resist!, Drew Adams, 2021/12/10
Re: New package: resist!, Stefan Kangas, 2021/12/09