Skip to content

Providing zero-copy read access to the table columns and tree arrays? #49

Description

@gregorgorjanc

Jerome suggested that this would be the killer feature that other R packages could build on. I presume R will allow you to expose an array of (e.g.) int32 as a vector?

Have to explore this option ...

See how this is done for Python-C low-level interface https://github.com/tskit-dev/tskit/blob/python/_tskitmodule.c --> Notes on this are in https://github.com/HighlanderLab/RcppTskit/blob/gregorgorjanc/issue49/RcppTskit/notes_pkg_dev.Rmd, as well as notes on a possible ALTREP approach

Activity

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions