mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-27 06:15:15 +00:00
computeClusterAssignments drained its BFS frontier with Array.shift(), which is O(remaining length) per call. Wide-frontier components (e.g. a hub memory that many others relate to) made the drain O(n^2) on every memory-graph load/update. Swapped to an index-pointer dequeue, which preserves identical traversal order and output. |
||
|---|---|---|
| .. | ||
| agent-framework-python | ||
| ai-sdk | ||
| cartesia-sdk-python | ||
| docs-test | ||
| hooks | ||
| lib | ||
| memory-graph | ||
| openai-sdk-python | ||
| pipecat-sdk-python | ||
| tools | ||
| ui | ||
| validation | ||