Kent Overstreet
|
5832e57970
|
store: convert more callers to use RELS index
Convert remaining Vec users to index-based access:
- memory.rs: MemoryNode::from_store uses Store::neighbors()
- graph.rs: orphan detection uses for_each_relation
- local.rs: normalize_strengths uses for_each_relation + set_link_strength
Add Store::neighbors() method and index::get_offsets_for_uuid().
Cleanup:
- for_each_relation: build both uuid↔key maps in one pass
- cap_degree: consolidate key/uuid/degree collection
Remaining Vec uses: admin.rs (fsck, dedup), capnp.rs (load path).
Co-Authored-By: Kent Overstreet <kent.overstreet@linux.dev>
|
2026-04-13 21:20:27 -04:00 |
|