Revision 1199714
Go back to digest for 28th November 2010Optimization in KDE Base
Sebastian Trueg committed changes in /trunk/playground/base/nepomuk-kde/scribo/plugins/pimo:
Replaced the simple query-based token detection with the one written by Mikhail Kotelnikov which uses a token tree of all named entities.
This is faster and also handles tokens which contain strings.
But on the other hand it does not handle substring matching yet and uses an in-memory tree of all named entities.
File Changes
Added 6 files
- /trunk/playground/base/nepomuk-kde/scribo/plugins/pimo
- /tokendetector.cpp
- /tokendetector.h
- /tokennode.cpp
- /tokennode.h
- /tokentree.cpp
- /tokentree.h
Modified 3 files
- /trunk/playground/base/nepomuk-kde/scribo/plugins/pimo
- /CMakeLists.txt
- /pimotextmatchplugin.cpp
- /pimotextmatchplugin.h
9 files changed in total