Skip to content

Conversation

JeffBezanson
Copy link
Member

I also noticed that the standard Base.show_type_name appears to be trimmable so we don't need the override. We might still want it for code size, but probably not a big deal.

@JeffBezanson JeffBezanson added the trimming Issues with trimming functionality or PR's relevant to its performance/functionality label Sep 19, 2025
@topolarity topolarity added the backport 1.12 Change should be backported to release-1.12 label Sep 19, 2025
Copy link
Member

@topolarity topolarity left a comment

Choose a reason for hiding this comment

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

I expect lots of users will still hit this for string(...) of a user-defined structs etc., so I was kind of hoping we'd define a decent --trim fallback for show_default, e.g. w/ @generated to iterate struct fields type-stably.

Anyway, this is enough for reshape(...) so definitely worth taking as-is.

Thanks!

@topolarity topolarity merged commit 12f7bb5 into master Sep 19, 2025
10 checks passed
@topolarity topolarity deleted the jb/showcolon branch September 19, 2025 13:44
This was referenced Sep 24, 2025
xal-0 pushed a commit to xal-0/julia that referenced this pull request Sep 30, 2025
I also noticed that the standard Base.show_type_name appears to be
trimmable so we don't need the override. We might still want it for code
size, but probably not a big deal.
KristofferC pushed a commit that referenced this pull request Oct 10, 2025
I also noticed that the standard Base.show_type_name appears to be
trimmable so we don't need the override. We might still want it for code
size, but probably not a big deal.

(cherry picked from commit 12f7bb5)
KristofferC pushed a commit that referenced this pull request Oct 12, 2025
I also noticed that the standard Base.show_type_name appears to be
trimmable so we don't need the override. We might still want it for code
size, but probably not a big deal.

(cherry picked from commit 12f7bb5)
KristofferC pushed a commit that referenced this pull request Oct 14, 2025
I also noticed that the standard Base.show_type_name appears to be
trimmable so we don't need the override. We might still want it for code
size, but probably not a big deal.

(cherry picked from commit 12f7bb5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 1.12 Change should be backported to release-1.12 trimming Issues with trimming functionality or PR's relevant to its performance/functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants