-
Notifications
You must be signed in to change notification settings - Fork 172
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
chore: Table Loading Improvements #1492
Conversation
There was a problem hiding this 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.
dDatabase/CDClientDatabase/CDClientTables/CDPackageComponentTable.cpp
Outdated
Show resolved
Hide resolved
dDatabase/CDClientDatabase/CDClientTables/CDPhysicsComponentTable.cpp
Outdated
Show resolved
Hide resolved
Updated to account for feedback |
Discovered an issue with this branch (#1493). Recommend holding off on review until I have time to fix. |
There was a problem hiding this 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.
Make more use of emplace() in some of the CDClient tables