Commit c4c22d6
Rewrite ragged sublibrary using complete v3 VectorOfArray code
Replace the partial reimplementation with the complete v3 vector_of_array.jl
code, mechanically transformed (VectorOfArray → RaggedVectorOfArray, etc.).
This preserves ALL v3 behavior exactly:
- A[i] returns the i-th inner array
- A[:, i] returns inner array without zero-padding
- RaggedEnd for per-column `end` resolution
- Iteration over inner arrays
- Full broadcasting, copy, zero, similar, fill!, push!, etc.
Tests are the complete v3 test suite (basic_indexing + interface_tests)
with same type renames, plus tests for interp/dense, conversion, and SII.
430 tests pass.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 5ae3f87 commit c4c22d6
3 files changed
Lines changed: 2142 additions & 890 deletions
File tree
- lib/RecursiveArrayToolsRaggedArrays
- src
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
| 10 | + | |
7 | 11 | | |
8 | 12 | | |
9 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
10 | 17 | | |
| 18 | + | |
11 | 19 | | |
12 | 20 | | |
13 | 21 | | |
14 | 22 | | |
| 23 | + | |
15 | 24 | | |
16 | 25 | | |
17 | 26 | | |
18 | 27 | | |
19 | | - | |
| 28 | + | |
0 commit comments