Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document LazyString in performance tips #53779

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

lassepe
Copy link
Contributor

@lassepe lassepe commented Mar 18, 2024

Does what it says. Doc-changes only.

Recent motivating example: FluxML/Flux.jl#2399

Copy link
Member

@aviatesk aviatesk left a comment

Choose a reason for hiding this comment

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

Most of the performance boosts usually come from compiler optimizations, thanks to the improved effects by using LazyString. But, details this internal might not be necessary for the performance tips section.

@lassepe
Copy link
Contributor Author

lassepe commented Mar 19, 2024

@aviatesk those are interesting additional details. But I think they are best added to the docstring of LazyString itself to keep the performance tips brief.

@aviatesk
Copy link
Member

Yep, it's fine.

@lassepe
Copy link
Contributor Author

lassepe commented Mar 19, 2024

Is there anything left to do before this can be merged?

@aviatesk
Copy link
Member

Could you fix the CI build failure? It seems to be caused by this PR.

@lassepe
Copy link
Contributor Author

lassepe commented Mar 20, 2024

All done. I think the remaining breakage is unrelated.

@aviatesk aviatesk merged commit 72b1c9e into JuliaLang:master Mar 21, 2024
5 of 7 checks passed
@lassepe lassepe deleted the docs/LazyString branch March 21, 2024 07:46
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