Skip to content

Conversation

@devmotion
Copy link
Member

String interpolation in show methods (many instances recently introduced in #446) is unnecessary. The Julia docs even explicitly advise against it: https://docs.julialang.org/en/v1/manual/performance-tips/#Avoid-string-interpolation-for-I/O

@github-actions
Copy link
Contributor

github-actions bot commented Jun 8, 2025

AdvancedHMC.jl documentation for PR #456 is available at:
https://TuringLang.github.io/AdvancedHMC.jl/previews/PR456/

@TuringLang TuringLang deleted a comment from github-actions bot Jun 8, 2025
@TuringLang TuringLang deleted a comment from github-actions bot Jun 8, 2025
Copy link
Collaborator

@ErikQQY ErikQQY left a comment

Choose a reason for hiding this comment

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

LGTM, string interpolations is not good since they introduce overheads.

@devmotion devmotion merged commit e55a8e8 into main Jun 9, 2025
14 of 18 checks passed
@devmotion devmotion deleted the dw/show_interpolation branch June 9, 2025 19:13
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.

3 participants