Skip to content

docs(wordfreq): disclose quadratic summary cost - #70

Draft
undergroundrap wants to merge 2 commits into
mainfrom
fix/wordfreq-disclosure-annotations
Draft

undergroundrap wants to merge 2 commits into
mainfrom
fix/wordfreq-disclosure-annotations

Conversation

@undergroundrap

Copy link
Copy Markdown
Owner

Annotation-only correction to examples/tools/wordfreq.hum.

Zero does: lines changed. No behavior, signature, algorithm, or allocation change.

Codex independent review: ACCEPT (static). Commit: 157ae73.

Draft pending CI.

run_tool time O(bytes) -> O(bytes + words^2): the app composes O(bytes) tokenization with the declared-quadratic wordfreq_summary call. The app-level disclosure omitted the quadratic work (WF-COST-1).

split_spaces/write_word why text: remove stale pre-#13 commentary claiming loop variables cannot supply Text proof (fixed by PR #30); replace with each helper's actual current purpose.

Annotation-only: zero does: lines changed; no signature, behavior, algorithm, or allocation change. Codex independent review: ACCEPT.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant