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

TF.has_impedance is slow #207

Open
kujaku11 opened this issue Apr 19, 2024 · 0 comments
Open

TF.has_impedance is slow #207

kujaku11 opened this issue Apr 19, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@kujaku11
Copy link
Owner

There is a slowdown or bottleneck in TF.has_{attr}. xarray.sel is currenlty slow, so there may be a better way to test if components are empty or not without using sel. See pydata/xarray#2452. The main issue is that is returning a new data array, which takes time and is not necessary for this function.

@kujaku11 kujaku11 added the enhancement New feature or request label Apr 19, 2024
@kujaku11 kujaku11 self-assigned this Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant