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

Does StdVector allocate? #397

Open
sloede opened this issue Jan 2, 2024 · 0 comments
Open

Does StdVector allocate? #397

sloede opened this issue Jan 2, 2024 · 0 comments

Comments

@sloede
Copy link
Contributor

sloede commented Jan 2, 2024

When wrapping a Vector in a C++ compatible StdVector, does the latter copy the data from its source or does it reuse the same memory?

Alternatively, if additional memory is allocated, is there a way to create an uninitialized StdVector and then fill it directly from Julia, eg, using regular array access syntax?

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

No branches or pull requests

1 participant