Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] Editor slow or hangs

> Seems like the photran editor either hangs or is extremely slow when the
> analysis and refactoring are turned on. Is there any solution to this? I
> ...
> My project is fairly complex with about 10 modules, each with a dozen

That is almost certainly what is causing the slowness. You have
discovered why analysis/refactoring is turned off by default on new
projects.  :-)

There are two factors.

One is the total size of your project and the dependencies in it. If
you have a module in one file but nine other files depend on it, then
when you update that file, the Photran indexer will re-index all ten
files (check out the Progress view).

Another factor is the size of the file in the editor. When
analysis/refactoring is on, Photran occasionally has to re-analyze the
contents of the editor so that content assist, the Fortran Declaration
view, etc. will have more-or-less up-to-date information. For small
files, this probably isn't noticeable. If the file in the editor is
large (say, more than a few hundred lines), though, you'll probably
notice a delay.

Jeff


Back to the top