On Sat, 25 Apr 2020 19:43:32 +0700
Ryan Joseph via fpc-pascal <fpc-pascal@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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to