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

Method code_quicken

Lib/test/test_dis.py:1320–1323  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

1318
1319 @staticmethod
1320 def code_quicken(f):
1321 _testinternalcapi = import_helper.import_module("_testinternalcapi")
1322 for _ in range(_testinternalcapi.SPECIALIZATION_THRESHOLD):
1323 f()
1324
1325 @cpython_only
1326 @requires_specialization

Callers 5

test_call_specializeMethod · 0.95
test_loop_quickenMethod · 0.95
get_cached_valuesMethod · 0.95

Calls 2

fFunction · 0.70
import_moduleMethod · 0.45

Tested by

no test coverage detected