Commit 0944257
committed
Optimizes Blosc2 MLArray data loading
Refactors the in-memory data loading process for Blosc2 MLArrays from disk. Previously, data was loaded via an intermediate cframe conversion. Now, an empty Blosc2 array is created in memory, and data chunks along with metadata are explicitly copied.
This ensures a more direct and controlled preparation of the array in memory, better supporting optimizations for subsequent operations.1 parent 6a797da commit 0944257
1 file changed
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1540 | 1540 | | |
1541 | 1541 | | |
1542 | 1542 | | |
1543 | | - | |
1544 | | - | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
1545 | 1556 | | |
1546 | 1557 | | |
1547 | 1558 | | |
| |||
0 commit comments