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

refactor: Deduplicate POLARS_FORCE_ASYNC env var parsing #14909

Conversation

mickvangelderen
Copy link
Contributor

Not sure about the name.

Perhaps we should parse and provide all of polars' configuration coming from env vars in one struct and cache it in a once cell. I don't think it would do much from a performance point of view. I also am not sure that would help organisationally because you're just putting things that look the same together rather than organizing by functionality. So... just doing the simplest thing now.

@ritchie46 ritchie46 changed the title Deduplicate POLARS_FORCE_ASYNC env var parsing refactor: Deduplicate POLARS_FORCE_ASYNC env var parsing Mar 8, 2024
@ritchie46 ritchie46 merged commit c6f37cf into pola-rs:main Mar 8, 2024
20 checks passed
@github-actions github-actions bot added internal An internal refactor or improvement python Related to Python Polars rust Related to Rust Polars labels Mar 8, 2024
@mickvangelderen mickvangelderen deleted the deduplicate-polars-force-async-env-var branch March 8, 2024 08:48
@c-peters c-peters added the accepted Ready for implementation label Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Ready for implementation internal An internal refactor or improvement python Related to Python Polars rust Related to Rust Polars
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants