Fix performance WTF in autocompletion: KStandardDirs::locate and contextForURL was called for every shown item
author Sven Brauch
()
committer Sven Brauch
()
commit f5557af7a35de9572ed398666c925c9a252f1e26
tree 6e6512b3a5211a0c47ccd384b5f58afc03380b09
parent ec72c6865771e3ec554c27ae0580d2d508084dd7
Fix performance WTF in autocompletion: KStandardDirs::locate and contextForURL was called for every shown item

I'm not sure this was the reason, but autocompletion subjectively feels considerably smoother now.
DESIGN
codecompletion/pythoncodecompletioncontext.cpp
duchain/helpers.cpp
duchain/helpers.h