Skip to content

Conversation

@EmandM
Copy link
Collaborator

@EmandM EmandM commented Aug 1, 2025

Discovered while profiling a server that had frequent pending dirty network objects to process

Changelog

Fixed: Removed heap alloc in NetworkBehaviourUpdate

Testing and Documentation

  • No tests have been added.
  • No documentation changes or additions were necessary.

Backport

This is an up-port of #3568

@EmandM EmandM requested a review from a team as a code owner August 1, 2025 18:30
@EmandM EmandM changed the title [UpPort] Replaced HashSet.UnionWith() with loop to avoid heap alloc fix: [UpPort] Replaced HashSet.UnionWith() with loop to avoid heap alloc Aug 1, 2025
Copy link
Collaborator

@NoelStephensUnity NoelStephensUnity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just made a minor change.
The rest looks good to me.

@NoelStephensUnity NoelStephensUnity enabled auto-merge (squash) August 5, 2025 19:41
@NoelStephensUnity NoelStephensUnity merged commit 1bcb377 into develop-2.0.0 Aug 5, 2025
25 checks passed
@NoelStephensUnity NoelStephensUnity deleted the fix/2.x/nbu-heap-alloc branch August 5, 2025 21:45
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.

4 participants