MCPcopy Create free account
hub / github.com/SolaWing/xcode-build-server / cmd_split

Function cmd_split

xclog_parser.py:40–43  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

38
39
40def cmd_split(s):
41 # shlex.split is slow, use a simple version, only consider most case
42 # in mine project test, custom regex is 2.54s, shlex.split is 4.9s
43 return shlex.split(s) # shlex is more right
44
45
46def cmd_split_fast(s):

Callers 5

parse_cMethod · 0.70
parse_pchMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected