[go: up one dir, main page]

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

improvements #1564

Merged
merged 6 commits into from
Aug 27, 2024
Merged

improvements #1564

merged 6 commits into from
Aug 27, 2024

Conversation

Byron
Copy link
Member
@Byron Byron commented Aug 27, 2024

Make merge_base more efficient by using Commits that can be re-used across calls.

Tasks

  • working impl
  • double check that is_new is actually needed - it's probably not needed after all

…d data is attached.

These graphs have the advantage of being able to be re-usable, as generally all information
about commits is kept.
A way to insert a full commit with a single update functions that
has access to the full commit, not just the data.
…sert_default()` and `Graph::try_lookup_or_insert_commit()` to `*::get_or_insert_commit()`
…rge-base`.

This would be a breaking change, but the previous addition of `merge-base`
wasn't released yet.
That way, multiple calls to merge-base can be more optimal.

Note that this is a breaking change, but there wasn't a release yet
so there is no need to mark it.
@Byron Byron marked this pull request as ready for review August 27, 2024 09:31
@Byron Byron enabled auto-merge August 27, 2024 09:31
@Byron Byron merged commit 1cfe577 into main Aug 27, 2024
15 checks passed
@Byron Byron deleted the improvements branch August 27, 2024 10:15
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 this pull request may close these issues.

1 participant