[Lazarus] FPC index/searcher classes committed.
nc-gaertnma at netcologne.de
Sun Mar 11 16:53:28 CET 2012
On Mon, 12 Mar 2012 01:55:20 +1100
Alexander Klenin <klenin at gmail.com> wrote:
> On Sun, Mar 11, 2012 at 04:29, Michael Van Canneyt
> <michael at freepascal.org> wrote:
> > We'd like people to try it and comment on the design and speed of the
> > engine,
> > and if you have suggestions for improvements, they're more than welcome.
> A good use/test would be to speed up "Find in Files" in Lazarus.
What cases do you have in mind?
Under Linux "Find in Files" searches the whole Lazarus or FPC sources in
2 seconds. Of course if the files are not in the OS cache it may
take much more. fpindexer may accelerate the first search dramatically,
but it will need an update, every time you updated the sources.
And "Find in file" can search arbitrary strings with various options
like regular expressions in arbitrary directories. I doubt fpindexer
If you just want to find a declaration, maybe you want to
try Cody's identifier dictionary:
More information about the Lazarus