yutannihilation / savvy

A simple R extension interface using Rust

Home Page:https://yutannihilation.github.io/savvy/guide/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow mutable ALTREP

yutannihilation opened this issue · comments

At least there can be three strategies on modification

  1. immutable
    1. always duplicate and modify the new one
  2. mutable
    1. modify the materialized version of SEXP in data2 (or somewhere linked to data2)
    2. modify the underlying *mut T, if available

I haven't seen an implementation that chose 2-ii, but it might be the case with Rust.

It seems this is not possible. Closing.

#223 (comment)