Skip to content

Decl saving improvements#478

Merged
PsyCommando merged 2 commits intoPersistentSS13:devfrom
NataKilar:decl-saving-improvements
Dec 7, 2023
Merged

Decl saving improvements#478
PsyCommando merged 2 commits intoPersistentSS13:devfrom
NataKilar:decl-saving-improvements

Conversation

@NataKilar
Copy link
Collaborator

Description of changes

Changes decl serialization to use a serializer type rather than a wrapper, directly converting the saved path to a decl on de-serialization

Depends on #477.

Why and what will this PR improve

Decls are widespread enough (present on almost everything for materials) that it doesn't make sense to require the creation and flattening of a wrapper object for each one. Moving the logic to be internal to the serializers will improve performance and cleanliness.

Authorship

Myself

@PsyCommando PsyCommando added the 💾 serialization A bug or feature linked to serialization/deserialization label Dec 7, 2023
@PsyCommando PsyCommando added this to the Outreach Map Release milestone Dec 7, 2023
PsyCommando
PsyCommando previously approved these changes Dec 7, 2023
Copy link
Collaborator

@PsyCommando PsyCommando left a comment

Choose a reason for hiding this comment

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

Seems fine.

@NataKilar NataKilar dismissed PsyCommando’s stale review December 7, 2023 20:14

The merge-base changed after approval.

PsyCommando
PsyCommando previously approved these changes Dec 7, 2023
@NataKilar NataKilar dismissed PsyCommando’s stale review December 7, 2023 20:36

The merge-base changed after approval.

@NataKilar NataKilar closed this Dec 7, 2023
@NataKilar NataKilar reopened this Dec 7, 2023
@PsyCommando PsyCommando merged commit 6e527b7 into PersistentSS13:dev Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💾 serialization A bug or feature linked to serialization/deserialization

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants