MCPcopy Create free account
hub / github.com/Niko1221/Strata / lookup

Method lookup

engine/src/split/src/session.cpp:375–375  ·  view source on GitHub ↗

lookup_drafts with this session's LK, after the draft layer's d1

Source from the content-addressed store, hash-verified

373
374// lookup_drafts with this session's LK, after the draft layer's d1
375std::vector<int> Session::lookup(const std::vector<int>& ctx, int d1) const { return lookup_drafts(ctx, LK_, d1); }
376
377// A window's cost grows with its rows (Q4: 8 rows ~20 ms, 16 ~34): in a run being copied (a code edit) the match is long
378// and the drafts are kept, a short match (new code) is mostly a coincidence

Callers

nothing calls this directly

Calls 1

lookup_draftsFunction · 0.85

Tested by

no test coverage detected