Skip to content

refactor: inline single-use helpers; io string parsers gain a projection option - #424

Merged
ihb2032 merged 12 commits into
mainfrom
refactor/inline-single-use-helpers
Sep 26, 2026
Merged

ihb2032 merged 12 commits into
mainfrom
refactor/inline-single-use-helpers

Conversation

@ihb2032

@ihb2032 ihb2032 commented Sep 26, 2026

Copy link
Copy Markdown
Owner

Inlines the 44 helpers that had exactly one production caller and a body of a few lines (the moonbitlang/x style rule against single-use short helpers), keeping single copies as local functions where two call sites share one caller. parse_csv_str / parse_ndjson_str also gain an optional projection parameter, exposing the column-subset read the lazy scan sources already use. Two candidates were skipped as scan misidentifications (json_value_as_float / json_value_as_bool have two caller functions each). Net −44 functions, mbti unchanged apart from the two additive io signatures; tests, guards and line coverage all green.

@ihb2032
ihb2032 merged commit 8ffdeb1 into main Sep 26, 2026
3 checks passed
@ihb2032
ihb2032 deleted the refactor/inline-single-use-helpers branch September 26, 2026 03:24
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