Skip to content

[MATLAB] Bump libmexclass version to 3465900 #36599

Closed

Description

@sgilmore10

Describe the enhancement requested

We recently added a class representation of a Proxy ID named libmexclass.proxy.Identifier. This class has one property named ID which is either set to NaN or to a scalar uint64 value. When ID=NaN, the Identifier is considered missing, i.e. it's not associated with a managed proxy object. When ID is set to a uint64 value, it's not considered missing and is associated with a managed proxy object. We updated libmexclass.proxy.Proxy to store an instance of libmexclass.proxy.Identifier instead of a raw uint64 value as the proxy ID.

Representing proxy IDs with a class will make it easier to create objects (e.g. arrow.array.UInt64Array) from existing ids. For example, we can check if the first input argument to arrow.array.UInt64Array is either a libmexclass.proxy.Identifier or a uint64 array. If it's the former, we are creating an array object from an existing proxy. Otherwise, we must create a new proxy object.

See commit #3465900 for details.

Component(s)

MATLAB

Activity

  1. sgilmore10 commented on Jul 10, 2023

    @sgilmore10
    MemberAuthor

    take

  2. added a commit that references this issue on Jul 10, 2023
  3. added this to the 13.0.0 milestone on Jul 10, 2023
  4. added a commit that references this issue on Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions