[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: File search progress: database review and question on triggers
From: |
Pierre Neidhardt |
Subject: |
Re: File search progress: database review and question on triggers |
Date: |
Thu, 13 Aug 2020 08:52:39 +0200 |
Julien Lepiller <julien@lepiller.eu> writes:
> Why wouldn't it help? Can't you make it a trie from basename ->
> complete name? If I'm looking for "libcord.so" (which is a key in the
> trie), I don't think I need to look for every path. I only need to
> follow the trie until I find a pointer to some structure that contains
> the data I look for (ex: a list of complete filenames).
Fair enough, but it's a more limited scope: here we assume the user
knows the exact basename.
It's a bit too limited in my opinion:
- It's only too common to have shared objects ending with a .X.Y extension
(where X.Y is a version), the version-less file is not always present
which means a lot of trial and error on the user end just to search
the right file.
- It does not cover the case where I don't know the basename, e.g. if I'm
looking for a FOO header file my query would look like "/include/.*foo.*".
I believe it's important that the search be as general as possible.
Thoughts?
--
Pierre Neidhardt
https://ambrevar.xyz/
signature.asc
Description: PGP signature
- Re: File search progress: database review and question on triggers, (continued)
- Re: File search progress: database review and question on triggers, Ricardo Wurmus, 2020/08/11
- Re: File search progress: database review and question on triggers, Pierre Neidhardt, 2020/08/11
- Re: File search progress: database review and question on triggers, Pierre Neidhardt, 2020/08/11
- Re: File search progress: database review and question on triggers, Ricardo Wurmus, 2020/08/11
- Re: File search progress: database review and question on triggers, Pierre Neidhardt, 2020/08/12
- Re: File search progress: database review and question on triggers, Julien Lepiller, 2020/08/12
- Re: File search progress: database review and question on triggers, Pierre Neidhardt, 2020/08/12
- Re: File search progress: database review and question on triggers, Julien Lepiller, 2020/08/12
- Re: File search progress: database review and question on triggers, Ricardo Wurmus, 2020/08/12
- Re: File search progress: database review and question on triggers, Pierre Neidhardt, 2020/08/13
- Re: File search progress: database review and question on triggers,
Pierre Neidhardt <=
- Re: File search progress: database review and question on triggers, Ricardo Wurmus, 2020/08/13
- Re: File search progress: database review and question on triggers, Pierre Neidhardt, 2020/08/13
- Re: File search progress: database review and question on triggers, Hartmut Goebel, 2020/08/15
- Re: File search progress: database review and question on triggers, Bengt Richter, 2020/08/15
- Re: File search progress: database review and question on triggers, Hartmut Goebel, 2020/08/16
- Re: File search progress: database review and question on triggers, Pierre Neidhardt, 2020/08/12
- Re: File search progress: database review and question on triggers, Arun Isaac, 2020/08/12
- Re: File search progress: database review and question on triggers, Pierre Neidhardt, 2020/08/13
- Re: File search progress: database review and question on triggers, Pierre Neidhardt, 2020/08/13
- Re: File search progress: database review and question on triggers, Pierre Neidhardt, 2020/08/13