Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: CodeEditor, Assist++, Topic++ » A little proposal on code analysis
Re: A little proposal on code analysis [message #21294 is a reply to message #21293] Tue, 12 May 2009 08:46 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Mindtraveller wrote on Tue, 12 May 2009 02:28

luzr wrote on Mon, 11 May 2009 12:19

Another possibile reason of lag:

In ide/idewin.cpp, GUI_APP_MAIN comment out

ActivateUsrLog();

Mirek

Sorry, but bug is still there. But IMO it (lag) became smaller.
I also noticed that lag heavily depends on overall size and size of dependencies for ALL included and opened files, especially for the current one.
Turning off any applications and opening only one small .h file with only one CtrlLib.h/CtrlLib.h included, made bug almost disappear.


OK.

First, one more possibility (but given what you wrote above, unlikely):

void Ide::Periodic()
{
//	CheckFileUpdate();
	SetIcon();
	if(debugger && debugger->IsFinished() && !IdeIsDebugLock())
		IdeEndDebug();
}


EDIT: Before bothering, try the patch below...

Second, we should decide if it is size of file or size of project or both.

Analyzing the code, I see no reason of influence of size of project (in fact, I believe that one was there and was fixed in the very first patch...).

Maybe you could try again plain CodeEditor and paste some very long file into it?

Thanks.

Mirek

[Updated on: Tue, 12 May 2009 09:08]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon14.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Parser error sensitivity
Next Topic: Code assist default selection
Goto Forum:
  


Current Time: Thu Apr 25 19:03:58 CEST 2024

Total time taken to generate the page: 0.04632 seconds