mapv_into_any doesn't respect storage type
評估
研究方向
Start at the implementation of mapv_into_any and compare it with mapv_into, focusing on how storage types are selected. Done means mapv_into_any preserves the source storage type, including ArcArray, and can clone it in place when no copy is necessary.
由索引模型根據 Issue 內容生成。
描述
Unlike mapv_into, mapv_into_any currently always returns a heap-allocated Array even if the source is something else - in my case, ArcArray.
It would be great if, like mapv_into, it was generic over storage types and allowed to clone ArcArray in-place when no copy is necessary.
cc @benkay86 who added it in the first place
- 主要語言
- Rust
- 星號
- 4.3k
- 分支
- 391
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
rust-ndarray/ndarray 的其他 Issue
-
.is_all_nan() returns true for an all-finite array可能已有人在做 @youdie006 於 53 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 72/100
rust-ndarray/ndarray#1612 · 1 則留言 · 1 個 reaction ·
-
難度 4/5 3-5 天 新手友好度 48/100
rust-ndarray/ndarray#1617 · 1 則留言 ·
-
Stack overflow in `triu`可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉bug good first issue
難度 3/5 1-2 天 新手友好度 68/100
rust-ndarray/ndarray#1615 · 1 則留言 ·
-
難度 4/5 3-5 天 新手友好度 48/100
rust-ndarray/ndarray#1610 ·
-
Empty Array lead to "The strides must not allow any element to be referenced by two different indices"可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 3/5 1-2 天 新手友好度 72/100
rust-ndarray/ndarray#1609 ·
查看 rust-ndarray/ndarray 的全部 Issue
相似的 Issue
-
enhancement
難度 2/5 1-3 小時 新手友好度 78/100
zcashlabs/thus-spoke-zakura#153 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 79/100
topgrade-rs/topgrade#2395 ·
維護者通常 1 天內回覆
-
app bug windows-os
難度 2/5 1-3 小時 新手友好度 67/100
維護者通常 1 天內回覆
-
editor good first issue
難度 2/5 1-3 小時 新手友好度 65/100
funnyboy-roks/inq#54 ·
-
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆