Finding (and marking) a frequently used character takes a very long time

Claus Pedersen

Member³
I am editing a package body with approx. 6000 lines. I inadvertently typed

(

[opening parenthesis] in the Find text box and pressed Enter.
After a couple of seconds, PLD locked and after a couple of minutes, it finished the marking. In the meanwhile it did not respond.

I have 1700+ parenthesis in the code, but why does it take so long?
Find-and-replace for the opening parenthesis is quicker than this (and that in itself is a very slow process!)

Debug.txt does not reveal anything, there is just a two minute gap in the logging.

Version 11.0.5.1790, 64 bit
 
The package body consists of many methods with long lines of code and comments, that cause horisontal scrollbars in the program window.
Today, the time consumed to mark all opening parenthesis is about 70 seconds. Maybe the time used yesterday was caused by the fact that the package was in a state where it had syntax errors. I looks like from the debug.txt file, that PLD tries to apply syntax checks in the process.

So make a test package with long code lines and lot of syntax errors. My package is approx. 6000 lines long and 350 kb in size.

If you still can not reproduce, I will send you my package.
 
Back
Top