Skip to content

Conversation

kpamnany
Copy link
Collaborator

@kpamnany kpamnany commented May 23, 2025

PR Description

Now that we re-export quite a lot from Core it seems sensible to remove. This allows constructors like Tuple{Type{Vector{Foo}}, UndefInitializer, Tuple{Int}} to precompile properly.

Appears to have a minimal effect on the stdlib pkgimages:

--- before.txt  2025-05-23 08:36:20.171870043 -0400
+++ after.txt   2025-05-22 14:48:49.003869097 -0400
@@ -47,7 +47,7 @@
  20K ../julia/usr/share/julia/compiled/v1.13/Logging/pkgimage.so
  20K ../julia/usr/share/julia/compiled/v1.13/Logging/pkgimage.so
 3.5M ../julia/usr/share/julia/compiled/v1.13/Markdown/pkgimage.so
-3.6M ../julia/usr/share/julia/compiled/v1.13/Markdown/pkgimage.so
+3.5M ../julia/usr/share/julia/compiled/v1.13/Markdown/pkgimage.so
 184K ../julia/usr/share/julia/compiled/v1.13/Mmap/pkgimage.so
 184K ../julia/usr/share/julia/compiled/v1.13/Mmap/pkgimage.so
  28K ../julia/usr/share/julia/compiled/v1.13/MozillaCACerts_jll/pkgimage.so

Checklist

Requirements for merging:

@kpamnany kpamnany force-pushed the kp-backport-58510 branch from 16d06e4 to 19171cc Compare May 27, 2025 14:12
@kpamnany kpamnany marked this pull request as ready for review June 4, 2025 21:50
@kpamnany kpamnany requested a review from a team June 5, 2025 13:28
Copy link
Member

@Drvi Drvi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kpamnany kpamnany force-pushed the kp-backport-58510 branch 2 times, most recently from 0a3cfa7 to 38a663a Compare June 6, 2025 18:12
Now that we re-export quite a lot from `Core` it seems sensible to
remove. This allows constructors like `Tuple{Type{Vector{Foo}},
UndefInitializer, Tuple{Int}}` to precompile properly.

Appears to have a minimal effect on the stdlib pkgimages:
```julia
--- before.txt  2025-05-23 08:36:20.171870043 -0400
+++ after.txt   2025-05-22 14:48:49.003869097 -0400
@@ -47,7 +47,7 @@
  20K ../julia/usr/share/julia/compiled/v1.13/Logging/pkgimage.so
  20K ../julia/usr/share/julia/compiled/v1.13/Logging/pkgimage.so
 3.5M ../julia/usr/share/julia/compiled/v1.13/Markdown/pkgimage.so
-3.6M ../julia/usr/share/julia/compiled/v1.13/Markdown/pkgimage.so
+3.5M ../julia/usr/share/julia/compiled/v1.13/Markdown/pkgimage.so
 184K ../julia/usr/share/julia/compiled/v1.13/Mmap/pkgimage.so
 184K ../julia/usr/share/julia/compiled/v1.13/Mmap/pkgimage.so
  28K ../julia/usr/share/julia/compiled/v1.13/MozillaCACerts_jll/pkgimage.so
```
@kpamnany kpamnany force-pushed the kp-backport-58510 branch from 38a663a to fdb026b Compare June 16, 2025 15:40
@kpamnany kpamnany merged commit 37cdbd8 into v1.10.2+RAI Jun 23, 2025
1 check passed
@kpamnany kpamnany deleted the kp-backport-58510 branch June 23, 2025 15:52
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.

2 participants