Skip to content

Rework Preferences loading framework #1

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

Merged
merged 1 commit into from
Oct 27, 2020
Merged

Rework Preferences loading framework #1

merged 1 commit into from
Oct 27, 2020

Conversation

staticfloat
Copy link
Member

Implements the Preferences loading framework as outlined in 0. The
most drastic change is that the list of compile-time preferences is no
longer sequestered within its own dictionary, but is instead
autodetected at compile-time and communicated back to the compiler.
This list of compile-time preferences is now embedded as an array of
strings that the loader must load, then index into the preferences
dictionary with that list to check the preferences hash.

Implements the `Preferences` loading framework as outlined in [0]. The
most drastic change is that the list of compile-time preferences is no
longer sequestered within its own dictionary, but is instead
autodetected at compile-time and communicated back to the compiler.
This list of compile-time preferences is now embedded as an array of
strings that the loader must load, then index into the preferences
dictionary with that list to check the preferences hash.

[0]: JuliaLang/julia#37791 (comment)
@staticfloat
Copy link
Member Author

@StefanKarpinski @tkf @fredrikekre You all are probably interested in this.

@staticfloat staticfloat merged commit ce8a5b9 into master Oct 27, 2020
@staticfloat staticfloat deleted the sf/rework2 branch October 27, 2020 17: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.

1 participant