Blosc / Blosc/python-blosc2

Add subclass for decompressed arrays

未关闭
#464 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Python
星标
211
派生
58
平均合并
1 天 17 小时
30 天内合并 PR
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
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。