include pattern and performance impact [message #161024] |
Wed, 26 May 2004 15:18 |
Eclipse User |
|
|
|
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 #161209 is a reply to message #161135] |
Thu, 27 May 2004 14:18 |
Eclipse User |
|
|
|
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 ?
|
|
|
Powered by
FUDForum. Page generated in 0.70724 seconds