Posted 18 years ago
by Bob Rundle
-
Director, Dynamic Workflow,
JOA Oil & Gas BV
![Avatar](https://secure.gravatar.com/avatar/7aad619ab395632d34823b15e7072e00.jpg?s=64&d=identicon&r=g)
I am trying to use the SyntaxEditor on some very big files.
The example file I am working with is 11MB. This is actually a small file for what I am expecting the user to throw at it.
I put together a test problem and this is what I find
CPU Memory Notes
4:27 747MB 11 MB File, outlining + language definition
2:25 767MB 11 MB File, language definition only
0:44 623MB 11 MB File, no language definition
0:06 110MB 11 MB File, RichTextBox
I am quite astonished at the inefficiency of the SyntaxEditor. 4 1/2 minutes if I want outlining! 2 1/2 minutes if I want a language! And why when there is no language definition is the memory consumption 6 times that of the RichTextBox?
What am I missing here? Why is this thing so inefficient?
Regards,
Bob Rundle
The example file I am working with is 11MB. This is actually a small file for what I am expecting the user to throw at it.
I put together a test problem and this is what I find
CPU Memory Notes
4:27 747MB 11 MB File, outlining + language definition
2:25 767MB 11 MB File, language definition only
0:44 623MB 11 MB File, no language definition
0:06 110MB 11 MB File, RichTextBox
I am quite astonished at the inefficiency of the SyntaxEditor. 4 1/2 minutes if I want outlining! 2 1/2 minutes if I want a language! And why when there is no language definition is the memory consumption 6 times that of the RichTextBox?
What am I missing here? Why is this thing so inefficient?
Regards,
Bob Rundle