Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] Help

Hi Zhao,

I think IModelElement must be lazy already, so no file operations are expected during the code assist time.
May be IO operations you're encountering are not necessary at all?

Best regards,
Michael

On Sun, Apr 25, 2010 at 7:34 AM, 赵忠伟 <zhaozhongwei@xxxxxxxxxxxxxxxx> wrote:
Hi guys

There is a very annoying performance issue of PDT content assist,and I open a bug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=309422

After I debug ,I found that it is very time consuming in ElementHandler.handle to get ISourceModule(it seems that there are file operations to get ISourceModule),so I create a patch that get ISourceModule when needed for content assist,and then the performance is improved much more,I am not sure if there are better ways,so I am glad to hear your voices!Because when there are 5000 proposals,it will cost more than 5 sec(longer than the default timeout)!So we have to fix this issue.


Thanks very much!!!

--

Thanks!

Best Regards!

Zhao

_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev



Back to the top