commit | c864ba89a0326b83500c5d4f2338743adcc58daa | [log] [tgz] |
---|---|---|
author | Joerg Kubitz <jkubitz-eclipse@gmx.de> | Thu Sep 30 01:06:51 2021 +0200 |
committer | Jörg Kubitz <jkubitz-eclipse@gmx.de> | Fri Oct 01 22:30:21 2021 -0400 |
tree | 65a9d719863fcfd562dcffe9138f5c51f36ac2de | |
parent | 88747b0d53b8fbe4871ef06949a3b6401b5282f8 [diff] |
Bug 576333 - [performance] optimize EclipseContext.getChildren() EclipseContext.getChildren() is a hotspot during open/close editors. The Set semantics for EclipseContext.children are not needed since children are anyway only added once. Only a Bag is needed. Also it is not needed to compute a Set that is returned by getChildren. All Callers only use the for-each loop so its sufficient to just return an Iterable which removes stale entries on the fly instead of copying the set. Also children can remove from parent by just clearing their self reference. No need to search for it. Change-Id: If1be10ba1bebfdd2901fe96abc9a9c6e0b47c6e2 Signed-off-by: Joerg Kubitz <jkubitz-eclipse@gmx.de> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.runtime/+/185959 Tested-by: Platform Bot <platform-bot@eclipse.org>
Thanks for your interest in this project.
Platform runtime provides the background componentns for Eclipse based applications.
Website: https://projects.eclipse.org/projects/eclipse.platform
For more information, refer to the Platform UI wiki page.
Contributions to Platform UI are most welcome. There are many ways to contribute, from entering high quality bug reports, to contributing code or documentation changes. For a complete guide, see the Platform UI - How to contribute wiki page page on the team wiki.
Several test plug-ins have a dependency to the Mockito and Hamcrest library. Please install them from the Orbit Download page
Currently the following versions are required:
You need Maven 3.3.1 installed. After this you can run the build via the following command:
mvn clean verify -Pbuild-individual-bundles
Information regarding source code management, builds, coding standards, and more.
Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation Contributor License Agreement (CLA).
This project uses Bugzilla to track ongoing development and issues.
Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!
Contact the project developers via the project's “dev” list.