Blosc / Blosc/python-blosc2

Add subclass for decompressed arrays

オープン
#464 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Python
スター
211
フォーク
58
平均マージ
1日 17時間
マージ済み PR(30日)
6

説明

Following [this comment](https://github.com/data-apis/array-api/discussions/968#discussioncomment-14350012), add a thinly wrapped native Blosc2 class for decompressed arrays, which are currently just plain NumPy arrays. Would have to support certain additional operations and comparisons (``==``, ``__array_namespace__()``), but it will inherit most of the useful machinery directly from NumPy.

Would have to change ``np.empty`` references for loading slices etc. from C functions in the code base, possibly some other things.

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

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

調査の方向性

まず、解凍された配列がどのように作成されるか、またスライスの読み込み時に C 関数がどこで np.empty を使用しているかを追跡します。サブクラスの動作を定義する前に、既存のネイティブな Blosc2 および NumPy の配列機構を確認します。完了条件は、解凍された配列が ==、__array_namespace__()、必要な追加の演算と比較をサポートし、影響を受ける読み込みパスが更新されていることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
numpy, python
領域
data
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

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

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