You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Performance #727] Audit strings, parsing/formatting and file I/O for short-job Python comparisons #747
Short practical programs are often dominated by text and I/O rather than numerical kernels. Audit string construction/concatenation, integer/float parse/format, buffered file read/write, line scanning and JSON-like/token parsing workloads.
Profile allocation/copies, encoding checks, syscall/buffering behavior and formatter/parser dispatch. Keep semantics and error handling explicit; do not win by omitting validation Python performs.
Acceptance: #728 has representative text/I/O end-to-end rows; common linear scans avoid per-character/per-token heap allocation; buffering is competitive with Python's standard I/O; material losses become focused issues; Flow wins or ties Python on supported one-shot transformation workloads.
Reference implementation against the retired Python compiler: tag archive/perf/747-string-io (b8fbbf2). Useful as a design starting point for the Flow implementation.
Implementation update (2026-10-06): draft PR #1401. Fixed std.string line scan for CRLF and bare CR and added mixed-line-ending regression tests. Broader string parsing/I/O performance audit remains open. The PR is draft because full local Flow/build validation has not been performed; #1402 additionally requires regenerated bootstrap C. No issue is being closed merely because a patch exists.
Activity
godofecht commentedon Oct 1, 2026
Reference implementation against the retired Python compiler: tag archive/perf/747-string-io (b8fbbf2). Useful as a design starting point for the Flow implementation.
Fix issue #747: Audit strings, parsing/formatting and file I/O for sh…
fix: typecheck, concat golden and stdlib docs for #747
fix: regenerate bootstrap C after n-way string concat
fix: treat free as void in standalone memory test
perf: first-slice string concat and buffered text I/O (#747) (#1337)
Follow-up to PR #1356, part of #747 (#1376)
fix(strings): handle CR and CRLF line breaks (#747)
test(strings): cover CR, LF and CRLF lines (#747)
godofecht commentedon Oct 6, 2026
Implementation update (2026-10-06): draft PR #1401. Fixed std.string line scan for CRLF and bare CR and added mixed-line-ending regression tests. Broader string parsing/I/O performance audit remains open. The PR is draft because full local Flow/build validation has not been performed; #1402 additionally requires regenerated bootstrap C. No issue is being closed merely because a patch exists.
feat(json): release owned parser arena, keys and scalar strings (#747)
bench(json): preserve substring-scan microbenchmark under honest name (…
bench(json): preserve substring-scan microbenchmark under honest name (…
56 remaining items
tests: re-record corpus digests, LSP completion and FIR arena_frame f…
fix: regenerate bootstrap C after the #766, #732, #740 and #747 train
feat: mixed concat, MLIR strcat, parse_float and UTF-8 policy (#747)
tests: re-record MLIR corpus digests and CLI checksums for the lane B…
tests: re-record corpus digests, LSP completion and FIR arena_frame f…
fix: regenerate bootstrap C after the #766, #732, #740 and #747 train
feat: mixed concat, MLIR strcat, parse_float and UTF-8 policy (#747)
tests: re-record MLIR corpus digests and CLI checksums for the lane B…
tests: re-record corpus digests, LSP completion and FIR arena_frame f…
fix: regenerate bootstrap C after the #766, #732, #740 and #747 train
feat: mixed concat, MLIR strcat, parse_float and UTF-8 policy (#747)
tests: re-record MLIR corpus digests and CLI checksums for the lane B…
tests: re-record corpus digests, LSP completion and FIR arena_frame f…
fix: regenerate bootstrap C after the #766, #732, #740 and #747 train