JuliaParallel / JuliaParallel/DistributedArrays.jl

REPL show of DArray makes 4 round trip calls for each element.

オープン
#137 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Julia
スター
205
フォーク
34
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。