GraphManager
Owns the zero-allocation graph topology: a pre-allocated, cache-aligned Float64Array of log-weights paired with a BigUint64Array of packed token addresses and reserve amounts. Eliminates pointer-chasing so the hot path never triggers V8 garbage collection.
- Pool reserve snapshots (bigint)
- Token decimal metadata
- Fee tier per pool
- Flat Float64Array edge-weight buffer
- Packed BigUint64Array node/edge index

No comments yet. Be the first!