On Wed, Feb 05, 2014 at 12:25:18PM +0100, Mattias Gaertner wrote: > > Are there any ideas for improving this situation for people that know > > that there is an identifier in the RTL, FCL, whatever, but don't know > > which unit it resides in? E.g. Lazarus did scan the FPC sources, > > couldn't it keep an identifier->unit index?
> It only scanned the directories for file names. This alone can take > minutes on slow disks/networks. > There are currently two identifier->unit indices. You could also try to lookup in CHM index. Lookup symbol, and then parse path of the html to get the unit (due to fpdoc structure) Since the CHM indices are already sorted, this should be doable quickly after the initial decompression. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
