How create Array from exists Memory without copy?
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start with the linked PyArray::from_slice documentation and determine what zero-copy construction from existing memory would require. The issue names no repository files or tests, so clarify the ownership and lifetime requirements before defining whether the work is an API change or documentation update.
Written by the indexing model from the issue text.
Description
I find https://docs.rs/numpy/latest/numpy/array/struct.PyArray.html#method.from_slice
by it copy the memory.
- Dominant language
- Rust
- Stars
- 1.4k
- Forks
- 141
- Avg merge
- 16m
- Merged PRs (30d)
- 3
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PyO3/rust-numpy
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
PyO3/rust-numpy#565 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
PyO3/rust-numpy#563 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 56/100
PyO3/rust-numpy#557 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
PyO3/rust-numpy#547 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 20/100
PyO3/rust-numpy#535 ·
Similar issues
-
Browser (wasm) relay client cannot connect to relays whose URL has a trailing-dot FQDN hostname Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
n0-computer/iroh#4550 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
paritytech/zombienet-sdk#591 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
farion1231/cc-switch#7638 · 1 comment ·
-
onnx-ir re-exports ModelProto and GraphProto but not NodeProto, AttributeProto and AttributeType Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100