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

chore: Remove unnecessary heap allocations #1478

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

jadebenn
Copy link
Collaborator

Made some heap allocated variables that never leave the stack frame into stack-allocated variables.

Copy link
Collaborator Author

@jadebenn jadebenn left a comment

Choose a reason for hiding this comment

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

Tested in game by initiating Stromling combat in Gnarled Forest.

@EmosewaMC
Copy link
Collaborator

Please also check combat with something server side calculated (engineer turrets, bulper) against other server side calculated behaviors

@jadebenn
Copy link
Collaborator Author

Summoned a Thwok using the Summoner gear and it fought Pirate Stromlings without issue.

@jadebenn jadebenn merged commit 95d6878 into main Feb 26, 2024
4 checks passed
@jadebenn jadebenn deleted the RemoveUneccessaryHeapAllocations branch February 26, 2024 01:35
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.

None yet

3 participants