[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#39258] Faster guix search using an sqlite cache
From: |
zimoun |
Subject: |
[bug#39258] Faster guix search using an sqlite cache |
Date: |
Tue, 11 Feb 2020 21:13:35 +0100 |
Hi Ludo,
On Tue, 11 Feb 2020 at 19:39, Ludovic Courtès <address@hidden> wrote:
> > About performance, the idea was to first implement something with
> > sqlite and then see if it makes the difference. I mean I have
> > understood that.
>
> Yes. But keep in mind that this package cache is used exclusively for
> package lookups by name. Namely, the goal is to speed package lookup in
I agree that some confusion happens here. And this cache cannot be improved.
> >> However, using sqlite for keyword search as you initially proposed on
> >> guix-devel does sound like a great idea to me.
> >
> > If I understand correctly, you are proposing 2 caches, right?
> > Or are you proposing an inverted index (VHash/VList table) based on
> > trigrams to speed up the lookup?
>
> Arun started the discussion on guix-devel with the idea of an inverted
> index, and I thought this would become a second index (possibly
> implemented using SQLite). Perhaps I misunderstood the discussion all
> along though, let me know! :-)
Well, your suggestion is very welcome and 2 caches are required: one
for the lookup by name, as it is already (and does a good job);
another one for "guix search" speeds up, SQLite or whatever (based on
inverted index or whatever).
Thanks,
simon
- [bug#39258] Faster guix search using an sqlite cache, Arun Isaac, 2020/02/02
- [bug#39258] Faster guix search using an sqlite cache, zimoun, 2020/02/04
- [bug#39258] Faster guix search using an sqlite cache, Arun Isaac, 2020/02/05
- [bug#39258] Faster guix search using an sqlite cache, Ludovic Courtès, 2020/02/11
- [bug#39258] Faster guix search using an sqlite cache, zimoun, 2020/02/11
- [bug#39258] Faster guix search using an sqlite cache, Ludovic Courtès, 2020/02/11
- [bug#39258] Faster guix search using an sqlite cache, Arun Isaac, 2020/02/11
- [bug#39258] Faster guix search using an sqlite cache, zimoun, 2020/02/11
- [bug#39258] Faster guix search using an sqlite cache, Arun Isaac, 2020/02/15
- [bug#39258] Faster guix search using an sqlite cache,
zimoun <=