Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the arrays shared with a clone-on-write mechanism. #855

Open
azteca1998 opened this issue Oct 16, 2024 · 0 comments · May be fixed by #876
Open

Make the arrays shared with a clone-on-write mechanism. #855

azteca1998 opened this issue Oct 16, 2024 · 0 comments · May be fixed by #876
Assignees

Comments

@azteca1998
Copy link
Collaborator

Right now, taking an array snapshot clones the entire array. Getting the array length uses the array_len libfunc, which consumes an array snapshot. This means that, at the moment, to obtain the array's length we need to clone it. Having shared array references should fix this problem.

@azteca1998 azteca1998 self-assigned this Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant