Home
Help
Search
Login
Register
SlickEdit Community
»
SlickEdit Product Discussion
»
SlickEdit®
»
c/c++ auto-complete performance
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: c/c++ auto-complete performance (Read 1552 times)
ahkevin
Community Member
Posts: 88
Hero Points: 0
c/c++ auto-complete performance
«
on:
March 14, 2022, 01:37:37 PM »
I noticed that SE lag when I work on a large c/c++ project( > 10K files).
I searched the forums and found a topic had discussed the issue.
https://community.slickedit.com/index.php?action=post;quote=70715;topic=18007.0;last_msg=70727
When will this feature be implemented? Will it be in V27?
Logged
Dennis
Senior Community Member
Posts: 3996
Hero Points: 521
Re: c/c++ auto-complete performance
«
Reply #1 on:
March 14, 2022, 09:00:52 PM »
A large portion of the auto-complete core engine code was re-written in C++ for version 26. The language-specific code still needs to be rewritten, and nothing is thread-safe yet (really can not make much thread-safe until the language-specific code is thread-safe). I do not know if this will be completed for v27 or not.
Frequently performance issues with C++ trace back to preprocessing making code parse incorrectly and gums up the gears. Sometimes it's just too many layers of type-inference and template expansion. Really have to investigate and come up with reproducible cases for specific issues that come up laggy.
Logged
ahkevin
Community Member
Posts: 88
Hero Points: 0
Re: c/c++ auto-complete performance
«
Reply #2 on:
March 15, 2022, 03:38:33 AM »
It is same issue in large C project, such as linux kernel.
«
Last Edit: March 15, 2022, 03:40:12 AM by ahkevin
»
Logged
Dennis
Senior Community Member
Posts: 3996
Hero Points: 521
Re: c/c++ auto-complete performance
«
Reply #3 on:
March 15, 2022, 12:07:16 PM »
Are you seeing it as an everywhere issue, or in certain cases?
One thing you could do since you have a larger project, is to dial down some of the Auto-Complete sub-word matching options to be less aggressive.
Logged
ahkevin
Community Member
Posts: 88
Hero Points: 0
Re: c/c++ auto-complete performance
«
Reply #4 on:
March 15, 2022, 02:01:44 PM »
It is an everywhere issue in my opinion.
Yes,You're right. It does ease the issue, but it's not complete, sometimes there are still laggy.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
SlickEdit Community
»
SlickEdit Product Discussion
»
SlickEdit®
»
c/c++ auto-complete performance