Skip to content

Feature request: settings map identical? #830

@AlexKnauth

Description

@AlexKnauth

Either provide a function to tell whether two settings maps are identical, or guarantee that the integer handles are equal whenever the maps are identical.

I don't expect this "identical" operation to be used for implementing the Eq trait == on the auto-splitter side. My intended use case would be to allow a load_if_changed function on the auto-splitter side.

For example:
I load the settings map and call it A, and then load it again on a future tick and call it B.
If the settings map has been unchanged for that time, then either A and B should be different handle integers but which "identical" returns true for, or they should be guaranteed to be the same handle integer, in which case there would be no need for a special "identical" function.

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