Skip to content

Build ARG_READERS/ARG_WRITERS without vcat - #45

Merged
KristofferC merged 1 commit into
JuliaIO:masterfrom
KristofferC:kc/no-vcat-test-tables
Oct 7, 2026
Merged

KristofferC merged 1 commit into
JuliaIO:masterfrom
KristofferC:kc/no-vcat-test-tables

Conversation

@KristofferC

@KristofferC KristofferC commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

The newline-separated ARG_READERS/ARG_WRITERS literals lower to vcat of pairs with distinct closure types. Evaluating them while precompiling puts the concatenation machinery (_ntuple, __cat_offset!, collect, ...) into the package image, for constants only used by test utilities. This uses a typed, comma-separated literal instead; iteration over the tables is unchanged.

Package image on Julia 1.14.0-DEV nightly (both versions precompiled locally the same way):

before after
code instances 1325 109
.ji 1694 KiB 258 KiB
.so 140 KiB 30 KiB

The newline-separated literals lowered to `vcat` of differently typed
pairs, which put ~1200 concatenation specializations into the package
image. Use a typed, comma-separated literal instead.

Package image on Julia 1.14 nightly: 1325 -> 109 code instances,
.ji 1694 -> 258 KiB.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@KristofferC
KristofferC force-pushed the kc/no-vcat-test-tables branch from 7c2ee96 to 50f9bbb Compare October 7, 2026 08:32
@codecov

codecov Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.07%. Comparing base (f77276a) to head (50f9bbb).

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #45      +/-   ##
==========================================
- Coverage   89.71%   88.07%   -1.65%     
==========================================
  Files           1        1              
  Lines         107      109       +2     
==========================================
  Hits           96       96              
- Misses         11       13       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@KristofferC
KristofferC merged commit 9000f38 into JuliaIO:master Oct 7, 2026
11 of 12 checks passed
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