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: Table Loading Improvements #1492

Merged
merged 13 commits into from
Mar 7, 2024

Conversation

jadebenn
Copy link
Collaborator

@jadebenn jadebenn commented Mar 4, 2024

Make more use of emplace() in some of the CDClient tables

Copy link
Collaborator

@EmosewaMC EmosewaMC left a comment

Choose a reason for hiding this comment

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

good improvements to construction of objects in containers. As you know unnecessary copies are good to remove. The pet component changes can be moved to their own pr (small enough to anyways and arent really related to any code changes here) and the .at revert is necessary as the table was complete before as far as functionality goes, and this change will cause crashes when they are not necessary.

@aronwk-aaron aronwk-aaron changed the title TableLoadingImprovements chore: Table Loading Improvements Mar 4, 2024
@jadebenn
Copy link
Collaborator Author

jadebenn commented Mar 6, 2024

Updated to account for feedback

@jadebenn jadebenn requested a review from EmosewaMC March 6, 2024 02:54
@jadebenn
Copy link
Collaborator Author

jadebenn commented Mar 6, 2024

Discovered an issue with this branch (#1493). Recommend holding off on review until I have time to fix.

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.

Well. That was faster than I expected.

@jadebenn jadebenn requested a review from EmosewaMC March 7, 2024 01:45
@jadebenn jadebenn merged commit 3a6313a into DarkflameUniverse:main Mar 7, 2024
4 checks passed
@jadebenn jadebenn deleted the TableLoadingImprovements branch March 7, 2024 05: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.

None yet

3 participants