MCPcopy Index your code
hub / github.com/python/cpython / lookup

Function lookup

Tools/unicode/dawg.py:452–453  ·  view source on GitHub ↗
(packed, data, s)

Source from the content-addressed store, hash-verified

450 return True
451
452def lookup(packed, data, s):
453 return data[_lookup(packed, s)]
454
455def _lookup(packed, s):
456 stringpos = 0

Callers 2

build_compression_dawgFunction · 0.70

Calls 1

_lookupFunction · 0.85

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…