基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/SocketDev/socket-btm --skill optimizing-parser-performance命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Run this repo's GitHub Actions locally with Agent-CI before pushing CI-sensitive changes.
Audit Actions permissions/allowlists against the fleet baseline; --conform fixes drift.
Propagate a wheelhouse template change across fleet repos: worktrees, push/PR fallback, cleanup.
| name | optimizing-parser-performance |
| description | Audits parser and tokenizer performance. |
| metadata | {"internal":true} |
Profile release-like parsing against representative valid, malformed, small, large, ASCII, and Unicode corpora. Preserve grammar behavior, diagnostics, source locations, and resource limits.
Use optimizing-compiler-performance only for a profile-proven codegen issue.
A lexer scanning identifiers, strings, template bodies, or whitespace is the case that pays
off for hand SIMD — the optimizer will not autovectorize a data-dependent find-first-of-a-
byte-set scan, so reach for explicit SIMD or a memchr-family primitive. Portable SIMD is
runtime CPU dispatch; do not ship -C target-cpu=native or GOAMD64=v2|v3|v4 in a build
distributed to CPUs you do not control. Pin only to a floor a controlled target guarantees,
and record why, enforced by scripts/fleet/check/build-microarch-is-portable.mts.
readString scanning 0xE2 for U+2028/U+2029 handling that the Rust and C++ ports omit.
Correctness beats cross-port delimiter symmetry.