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

Avoid running constructor multiple times when import skrf #957

Merged
merged 5 commits into from
Sep 20, 2023

Conversation

FranzForstmayr
Copy link
Collaborator

Currently the constructor of Network is executed multiple times when importing skrf.
This patch avoids this behaviour by loading the static data only when needed as properties of a new class.

@github-actions github-actions bot removed the Network label Sep 12, 2023
@jhillairet jhillairet added the Improvements Improvements of existing feature label Sep 20, 2023
@jhillairet jhillairet merged commit 29350fa into scikit-rf:master Sep 20, 2023
11 checks passed
@jhillairet jhillairet mentioned this pull request Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvements Improvements of existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants