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

Function is_large

Tools/cases_generator/analyzer.py:1368–1369  ·  view source on GitHub ↗
(uop: Uop)

Source from the content-addressed store, hash-verified

1366
1367#Simple heuristic for size to avoid too much stencil duplication
1368def is_large(uop: Uop) -> bool:
1369 return len(list(uop.body.tokens())) > 120
1370
1371
1372def get_uop_cache_depths(uop: Uop) -> Iterator[tuple[int, int, int]]:

Callers 2

write_uopFunction · 0.90
get_uop_cache_depthsFunction · 0.85

Calls 2

listClass · 0.85
tokensMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…