feat: add GraphBLAS serialization primitives#372
Conversation
…atrix/vector/tensor serialization) Introduce core serialization infrastructure for RDB persistence: - Writer/Reader traits abstracting over serialization sinks/sources - Encode<V>/Decode<V> traits for versioned serialization - si_type module with type tag constants matching C FalkorDB format - EncodeState/PayloadEntry for chunked virtual-key encoding - Matrix, Vector, Tensor, VersionedMatrix Encode<19>/Decode<19> impls using GxB_Container export/import - RoaringTreemap Encode<19>/Decode<19> for deleted entity bitmaps Part of #359 (RDB persistence split).
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 24 minutes and 3 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (7)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #372 +/- ##
==========================================
- Coverage 85.50% 84.14% -1.37%
==========================================
Files 109 110 +1
Lines 28477 28954 +477
==========================================
+ Hits 24350 24362 +12
- Misses 4127 4592 +465
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary
Core serialization infrastructure that all higher-level RDB persistence code depends on. Extracted from #359 (PR 4 of the split).
serialization.rsmodule (~219 lines):Writer/Readertraits abstracting serialization sinks/sources, versionedEncode<V>/Decode<V>traits,si_typetype-tag constants (matching C FalkorDB format),EncodeState/PayloadEntryfor chunked virtual-key encoding, andRoaringTreemapencode/decode for deleted entity bitmapsEncode<19>/Decode<19>forSparseMatrixusingGxB_Containerexport/import, plusSparseMatrixIteratorEncode<19>/Decode<19>forSparseVectorusing container export/import, plusSparseVectorIteratorEncode<19>/Decode<19>looping over inner matricesroaringandthin-vecadded to rootCargo.tomlTest plan
cargo checkpassescargo fmt --all -- --checkpassescargo test -p graph)