CSharp parser performance
Adam Treat
treat at kde.org
Sat Aug 5 19:38:07 UTC 2006
Hi all,
I was testing the C# parser and found that I can parse every file in Mono's
corelib (minus the tests) and start the KDevelop 4 project in less than 5
seconds.
I've also determined that the C# parser suffers multi-threading problems.
When I run more than one parse at a time in multiple threads, I get crashes.
This probably has to do with the static variables. Especially the
char *_G_contents;
variable.
TODO: make the parsers threadsafe.
Jakob, I'm also going to work on the kdevelop-pg serialization of AST's.
Cheers,
Adam
More information about the KDevelop-devel
mailing list