Review Request 117527: Added implement function completion to kdev-clang

David Stevens dgedstevens at gmail.com
Fri Apr 25 04:17:02 UTC 2014



> On April 22, 2014, 9:15 p.m., Milian Wolff wrote:
> > codecompletion/completionhelper.cpp, line 31
> > <https://git.reviewboard.kde.org/r/117527/diff/2/?file=267591#file267591line31>
> >
> >     QHash?

Based on my some quick google searches, it looks like QMap is faster than QHash for small numbers of string keys, since string comparisons are faster than string hashing. And I doubt it's very common to have a template with more than 3 or 4 members.


- David


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/117527/#review56218
-----------------------------------------------------------


On April 22, 2014, 2:21 a.m., David Stevens wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/117527/
> -----------------------------------------------------------
> 
> (Updated April 22, 2014, 2:21 a.m.)
> 
> 
> Review request for KDevelop.
> 
> 
> Repository: kdev-clang
> 
> 
> Description
> -------
> 
> Added implement function completion. This involved refactoring some code, so the diff is pretty large. The core of the implemenation occurs in lines 186-286 and lines 312-326 of completionhelper.cpp.
> 
> 
> Diffs
> -----
> 
>   codecompletion/CMakeLists.txt e72f5ba 
>   codecompletion/completionhelper.h PRE-CREATION 
>   codecompletion/completionhelper.cpp PRE-CREATION 
>   codecompletion/context.h b328ae9 
>   codecompletion/context.cpp 9f92251 
>   codecompletion/overridecompletionhelper.h fc34275 
>   codecompletion/overridecompletionhelper.cpp aff69f6 
>   tests/codecompletiontest.h bacab65 
>   tests/codecompletiontest.cpp 2ae64c6 
> 
> Diff: https://git.reviewboard.kde.org/r/117527/diff/
> 
> 
> Testing
> -------
> 
> Manual and unit tests.
> 
> 
> Thanks,
> 
> David Stevens
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20140425/2b1859e0/attachment.html>


More information about the KDevelop-devel mailing list