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

Follow renames #62

Merged
merged 3 commits into from
Jan 16, 2025
Merged

Follow renames #62

merged 3 commits into from
Jan 16, 2025

Conversation

vincentdephily
Copy link
Owner

No description provided.

Keeps build time stats accross renames. See #60.

This commit is an MVP, lacking tests and optimizations. Even then, parsing 80 update files takes
2-6ms on my system, so the cost of this double-parsing single-threaded implementation is already
low.

We get the list of update files from the mtimedb, which is nice because we already parse it and can
yet again avoid locating the installed repos, but also lists (on my system) some non-existing files
and files from an inactive repo.
A bit of a brain-teaser to find and cleanly document failure modes, but it found one bug (duplicates
overwriting instead of being ignored), which gives some confidence in the test.
Interestingly, parsing the mtimedb json takes 3x as long as parsing 65 update files.
@vincentdephily vincentdephily merged commit 9afce3f into master Jan 16, 2025
9 checks passed
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