Add subclass for decompressed arrays
- Vorherrschende Sprache
- Python
- Sterne
- 211
- Forks
- 58
- Ø Merge
- 1 T. 17 Std.
- Gemergte PRs (30 T.)
- 6
Beschreibung
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.
Beitragsleitfaden
Rechercherichtung
Start by tracing how decompressed arrays are created and where C functions use np.empty when loading slices. Review the existing native Blosc2 and NumPy array machinery before defining the subclass behavior. Done means decompressed arrays support ==, __array_namespace__(), the required additional operations and comparisons, with affected loading paths updated.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- numpy, python
- Bereich
- data
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 42/100