MCPcopy Index your code
hub / github.com/sindresorhus/fkill-cli / preferLowAlphanumericNames

Function preferLowAlphanumericNames

interactive.js:55–55  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

53const isDeprioritizedProcess = process_ => deprioritizedProcesses.has(process_.name);
54const preferNotDeprioritized = preferNotMatching(isDeprioritizedProcess);
55const preferLowAlphanumericNames = (a, b) => a.name.localeCompare(b.name);
56
57const preferHighPerformanceImpact = (a, b) => {
58 const hasCpu = typeof a.cpu === 'number' && typeof b.cpu === 'number';

Calls

no outgoing calls

Tested by

no test coverage detected