Skip to content

Remove URI interning lock#65

Merged
vinistock merged 1 commit intomainfrom
08-06-remove_uri_interning_lock
Aug 6, 2025
Merged

Remove URI interning lock#65
vinistock merged 1 commit intomainfrom
08-06-remove_uri_interning_lock

Conversation

@vinistock
Copy link
Member

@vinistock vinistock commented Aug 6, 2025

This PR removes the interning of URIs from the index, so that the threads don't have to compete on any locks and everything is merged at the end.

I also switched to using rayon for parallelism, which makes the implementation much simpler.

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@vinistock vinistock self-assigned this Aug 6, 2025
@vinistock vinistock added the enhancement New feature or request label Aug 6, 2025 — with Graphite App
@vinistock vinistock marked this pull request as ready for review August 6, 2025 13:40
@vinistock vinistock requested a review from a team as a code owner August 6, 2025 13:40
@vinistock vinistock force-pushed the 08-06-remove_uri_interning_lock branch from d122f25 to 848e65d Compare August 6, 2025 14:29
@vinistock vinistock requested a review from Morriar August 6, 2025 14:34
Copy link
Contributor

@Morriar Morriar left a comment

Choose a reason for hiding this comment

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

Some remaining comments but it can be fixed forward 👍

@vinistock vinistock force-pushed the 08-06-remove_uri_interning_lock branch from 848e65d to 512b502 Compare August 6, 2025 20:22
@vinistock vinistock merged commit 92ee92c into main Aug 6, 2025
8 checks passed
@vinistock vinistock deleted the 08-06-remove_uri_interning_lock branch August 6, 2025 20:46
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

Successfully merging this pull request may close these issues.

2 participants