[fpc-pascal] Pascal Language Server
Mattias Gaertner
nc-gaertnma at netcologne.de
Sat Apr 25 14:55:09 CEST 2020
On Sat, 25 Apr 2020 19:43:32 +0700
Ryan Joseph via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
> Is the following line something which can be cached? Currently this
> is going to be called very often but is it an expensive operation?
> Not sure what it does exactly....
>
> Code := CodeToolBoss.FindFile(URI.Path + URI.Document);
It does a binary search on the cached files. Should be barely
measurable.
Mattias
More information about the fpc-pascal
mailing list