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

Design suggestion #1103

Closed
NeilGirdhar opened this issue Jul 6, 2023 · 1 comment · May be fixed by #1104
Closed

Design suggestion #1103

NeilGirdhar opened this issue Jul 6, 2023 · 1 comment · May be fixed by #1104

Comments

@NeilGirdhar
Copy link
Contributor

NeilGirdhar commented Jul 6, 2023

I'm just starting to use Orion. Looks like a very useful tool! One suggestion: Consider having Space depend on sorteddictionary, and use composition over inheritance.

(Also, Python dictionaries are ordered, so you ordering by name might not be that important if all you want is for the ordering to be consistent between runs.)

@bouthilx
Copy link
Member

bouthilx commented Jul 6, 2023

Thanks for the suggestion! The names were indeed sorted as a simple solution to keep ordering consistent between runs for python <=3.5. Now that we do not support 3.5 we could indeed remove this. I'm happy to help if you'd be interested in making a PR. :)

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 a pull request may close this issue.

2 participants