Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » include pattern and performance impact
include pattern and performance impact [message #161024] Wed, 26 May 2004 15:18 Go to next message
Eclipse UserFriend
Originally posted by: vladimir.none.com

Hi,

Just curious. If each java file in a project is specified as an entry in
include pattern what would be the performance impact and when it would be
observed the most?

All the best.
Re: include pattern and performance impact [message #161135 is a reply to message #161024] Thu, 27 May 2004 07:30 Go to previous messageGo to next message
Philippe Mulet is currently offline Philippe MuletFriend
Messages: 229
Registered: July 2009
Senior Member
If you have lots, then it will be deadly. We use a linear search to match
each name against the inclusion filters.
It would affect our building of the JavaModel, which results in pretty much
all you are using inside the IDE when editing code. It would also slow down
our builder responsible for compiling Java code.

Definitely not a good idea... can't you factorize the inclusion rules ?

"Vladimir" <vladimir@none.com> wrote in message
news:c92cgh$jhs$1@eclipse.org...
> Hi,
>
> Just curious. If each java file in a project is specified as an entry in
> include pattern what would be the performance impact and when it would be
> observed the most?
>
> All the best.
>
Re: include pattern and performance impact [message #161209 is a reply to message #161135] Thu, 27 May 2004 14:18 Go to previous message
Eclipse UserFriend
Originally posted by: vladimir.none.com

Philippe,

That is what I was guessing. Thanks for your confirmation.

I am writing an adapter for a legacy project format that explicitely
specifies each file in a project. Legacy format does not map to filesystem
one-to-one. For example, there might be extra source files on the
filesystem in the same directory where specified sources are and so on.
Have to write a clever algorithm that computes inclusion/exclusion rules :)

Cheers.



Philippe Mulet wrote:

> If you have lots, then it will be deadly. We use a linear search to match
> each name against the inclusion filters.
> It would affect our building of the JavaModel, which results in pretty much
> all you are using inside the IDE when editing code. It would also slow down
> our builder responsible for compiling Java code.

> Definitely not a good idea... can't you factorize the inclusion rules ?
Previous Topic:Could I change keyboard shortcut for "Content Assist"?
Next Topic:getting all files of the workspace
Goto Forum:
  


Current Time: Wed Jan 15 09:25:09 GMT 2025

Powered by FUDForum. Page generated in 0.70724 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top