[sync] Improve performance after commit 6c5e2ea0
commitcd15f9dafaab88f737b450381538dbab3cf1636a
authorDariusz Luksza <dariusz@luksza.org>
Wed, 16 Mar 2011 23:41:36 +0000 (17 00:41 +0100)
committerDariusz Luksza <dariusz@luksza.org>
Tue, 22 Mar 2011 16:54:52 +0000 (22 17:54 +0100)
tree344be5b174f7462e4f135346f38c17803e3ef751
parent8ad2775071724f2e1545a682e618e9d6fc9faaa9
[sync] Improve performance after commit 6c5e2ea0

It appears that new implementation of
GitResourceVariantTreeSubscriber.isSupervised(IResource) introduce an
performance issues in synchronize view. This change moves part of
logic from isSupervised method into members(IResource). In this
approach we don't include ignored resources in list members therefore
we don't need to check that resource isn't ignored in isSupervised()
method.

Bug: 323839
Change-Id: I7bca756cbcd6dae2909e49ad618f980222b7869e
Signed-off-by: Dariusz Luksza <dariusz@luksza.org>
org.eclipse.egit.core/src/org/eclipse/egit/core/synchronize/GitResourceVariantTreeSubscriber.java