[Uml-devel] [umbrello] [Bug 316829] slow c++ code import

Ralf Habacker ralf.habacker at gmail.com
Sat Mar 16 09:58:06 UTC 2013


https://bugs.kde.org/show_bug.cgi?id=316829

Ralf Habacker <ralf.habacker at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #1 from Ralf Habacker <ralf.habacker at gmail.com> ---
There are two reasons why the import is so slow. 

1. The c+ class importer parses by default all includes file for a given file.
The advantage is that umbrello is able to find most definitions and do not need
to ask the user to identify unknown namespaces or classes. The drawback is that
the parser needs much time to parse. 
A solution is here to add an option, which disables the dependency resolution
and let umbrello ask for non defined namespaces or classes. 

2. The Tree View object needs much update time when adding entries. Hiding the
related dockwindow the list view while importing will speed up the import. 

Another approach would be to include the c++ parser from recent kdevelop
project. 
Unfortunally this has been rejected https://bugs.kde.org/show_bug.cgi?id=297321

-- 
You are receiving this mail because:
You are the assignee for the bug.




More information about the umbrello-devel mailing list