MCPcopy Create free account
hub / github.com/nodejs/node / make_key_func

Function make_key_func

deps/v8/tools/eval_gc_nvp.py:144–147  ·  view source on GitHub ↗
(cmp_metric)

Source from the content-addressed store, hash-verified

142
143
144def make_key_func(cmp_metric):
145 def key_func(a):
146 return getattr(a, cmp_metric)()
147 return key_func
148
149
150def main():

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected