-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libclang.py: Introduce option sorting=none
0.34 -> 0.28 sec completion time on (examples/boost.cpp) This was compared to soring=alpha No sorting makes sense as vim will automatically sort the results as soon as we type the first character. So spending a lot of time on sorting may not be worth it. In later patches I will try to speed up our own sorting, such that it becomes less an issue. clang already provides a c function for this. Though at the moment this function does not work for me (it crashes).
- Loading branch information
1 parent
acbd61f
commit f31fbca
Showing
3 changed files
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,6 @@ | |
|
||
int main() | ||
{ | ||
boost: | ||
boost::matc | ||
// ^ Code complete here by typing ":" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters