Skip to content

Commit bfb4a52

Browse files
dfa1claude
andcommitted
docs(todo): add domain primitives item via Valhalla value classes
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 9227902 commit bfb4a52

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

TODO.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ written: /var/folders/dq/w0lpx2tj70g0cgv4ckcyth740000gn/T/junit-7248856963330236
5959
6060
## Array API
6161
62+
- [ ] Use domain primitives (`UInt32`, `UInt64`, etc.) as value classes via Project Valhalla instead of raw `long`/`int`
63+
- See https://dfa1.github.io/articles/rethink-domain-primitives-with-valhalla
64+
- Candidates: `PType` integer kinds, buffer offsets, row indices, byte lengths
65+
- Goal: type-safety at zero cost (value class = no heap alloc, no boxing)
66+
6267
- [ ] Optional `vortex-arrow` bridge module for Arrow ecosystem interop
6368
- Primary API stays `ArrayLong`/`ArrayDouble` (zero-copy, no deps, no Unsafe)
6469
- Bridge wraps typed views into Arrow `BigIntVector`, `Float8Vector`, etc. for users who need

0 commit comments

Comments
 (0)