Skip to content

Make PointerType work like RecursiveType #51

@calebsander

Description

@calebsander

Still need a separate type because RecursiveType only reuses objects that are strictly equal, while pointers should reuse anything with the same value representation.

  • If first instance of value (as judged by value buffer), write value
  • Otherwise write a flexInt offset to it
  • There should no longer be any need for placeholder pointer bytes and having the root type call setPointers()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions