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: do not clone configs Vec for unprocessed imports #262

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lavafroth
Copy link
Contributor

Changes

  • Each iteration of a load inside the load_and_merge function only considers new elements since the last round.
  • The entire configs vector does not need to be cloned for working on the small tail slice of unprocessed configs.

Each iteration of a load only considers what is new since the last
round.

The entire configs vector does not need to be cloned for working on the
small tail slice of unprocessed configs.
Copy link
Contributor

@newtoallofthis123 newtoallofthis123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look quite cool 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants