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

Fix lazy construction of Dicts, per guidance from Julia Base #5

Merged
merged 1 commit into from
Feb 15, 2022

Conversation

NHDaly
Copy link
Collaborator

@NHDaly NHDaly commented Feb 15, 2022

see the guidance on this, here:
JuliaTime/TimeZones.jl#342 (comment)

As a note, it is generally better to allocate the object on the thread that it will be used (see JuliaWeb/HTTP.jl#704 and https://github.com/JuliaLang/julia/blob/e4fcdf5b04fd9751ce48b0afc700330475b42443/stdlib/Random/src/RNGs.jl#L369-L385 for examples).

@NHDaly NHDaly merged commit 55d3727 into nhd-initial-code Feb 15, 2022
@NHDaly NHDaly deleted the nhd-fix-lazy-construction branch September 7, 2022 16:39
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