JuliaParallel / JuliaParallel/DistributedArrays.jl
REPL show of DArray makes 4 round trip calls for each element.
- Ngôn ngữ chính
- Julia
- Star
- 205
- Fork
- 34
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
I noticed that the default `show` of `DArray` (i.e., it defaults to the one in Base) results in 4 round trip calls for each element. We ought to define ` Base.show(io::IO, mime::MIME"text/plain", D::DArray)` in this package.
The question is should it
1) Only print DArray meta data (which worker has which indexes and so on) or
2) Efficiently call a `convert(Array, D)` and then print it in one go locally or
3) Pull in and show only the first few and last few elements of the darray.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Start by examining the default Base.show behavior for DArray and how many round trips the current REPL display causes. Compare the three output approaches listed in the issue, then establish which behavior should be selected before defining Base.show(io::IO, MIME"text/plain", D::DArray). Done means the chosen representation displays without four round trips per element.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- julia
- Lĩnh vực
- distributed-systems
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 30/100