XPerf
LanguagesNim

nimperf

Nim performance notes and same-language nimperf-lint.

Part of XPerf. Corpus-ready (G3 2026-10-22). Defaults: nm-seq-add-hot and nm-echo-hot off; nm-seq-no-capacity hint. nm-string-amp-in-loop was removed. Requires nim (choosenim).

Contents

Run lint

packages/nimperf/nimperf-lint/nimperf-lint path/to/sources
bash packages/nimperf/scripts/smoke-lint.sh
bash packages/nimperf/scripts/self-lint.sh

Layout

PathContents
docs/guide (guide-src/ is the source), corpus pins, evidence policy, rule ids
evidence/per-rule evidence notes (all pending; see evidence/README.md)
examples/m01_presize.nim, p01_join.nim
nimperf-lint/linter source, fixtures, README
scripts/smoke-lint.sh, self-lint.sh