MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / free_edge_strings

Function free_edge_strings

src/graph_buffer/graph_buffer.c:416–418  ·  view source on GitHub ↗

An edge owns no strings: type AND properties_json are interned (pool-owned; * the pool frees each once in cbm_gbuf_free). Edge properties repeat massively * -- on the Go corpus 1.8M edges carry 343k distinct property strings and 854k * are exactly "{}" -- and an edge's properties are never mutated in place. */

Source from the content-addressed store, hash-verified

414 * -- on the Go corpus 1.8M edges carry 343k distinct property strings and 854k
415 * are exactly "{}" -- and an edge's properties are never mutated in place. */
416static void free_edge_strings(cbm_gbuf_edge_t *e) {
417 (void)e;
418}
419
420/* Allocate the next buffer-local or shared-atomic ID. */
421static int64_t alloc_next_id(cbm_gbuf_t *gb) {

Callers 3

cascade_delete_edgesFunction · 0.85
cbm_gbuf_freeFunction · 0.85
gbuf_delete_edges_ifFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected