Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrollview remove entity reference #7206

Open
wants to merge 11 commits into
base: main_v1
Choose a base branch
from

Conversation

Maksims
Copy link
Collaborator

@Maksims Maksims commented Dec 17, 2024

This PR depends on #7194 and #7204 (and includes them already), merge them first please so diff is more concise.

This PR does not change API or behavior.

As mentioned in #7195 - EntityRefence need to go. This PR completes that, by removing a last dependency on it and also removing reliance on ComponentSystem's global event lists, which leads to exponentially higher costs of creating/removing related components (Element especially).

There is a significant performance improvement when creating/removing such components similar to other two PR's mentioned above. This also benefits ElementComponent's creation/removal performance, as every ScrollView and Scrollbar components were subscribing to ElementComponentSystem's global lists.

I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant