Skip to content

Rework datahandle #56

Description

@Schlevidon

Summary

Replace the datahandle with a better mechanism which would:

  • Avoid unnecessary reads/writes
  • Reduce coding mistakes (i.e. by ensuring that only certain types of data can be stored/retrieved)
  • Generally improve performance (datahandle has to be accessed in the RHS for switch detection)

Possible Approaches

  • Global function storage which stores the data as persistent variables and can be interacted with via certain commands (e.g. store x, load y, etc.)
  • Replace datahandle with an instance of a handle class

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

refactorInternal improvements

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions