Skip to content

Streamline SBInfo allocations & serialization #2094

@kamronbatman

Description

@kamronbatman
  1. Currently SBInfo is not serialized, but information about it is used to serialize BaseVendor. We should strive keep serialization standardized by rewriting BaseVendor serialization.
  2. SBInfo is copied for every vendor even though 99%+ use a static list. This means as a vendor is spawned, changes maps, barkeep title is changed, etc, the list is recreated which has ramifications for serialization.

Let's architect a way to maintain the serialization of SBInfo that have doubled on a vendor, but avoids additional allocations for SBInfo per vendor where possible. It looks like the double factor is the only thing serialized for vendors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions