Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
144
def
make_key_func(cmp_metric):
145
def
key_func(a):
146
return
getattr(a, cmp_metric)()
147
return
key_func
148
149
150
def
main():
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected