Skip to content

Conversation

olafurpg
Copy link
Contributor

Fixes #152. Supersedes #192. This fix doesn't prevent duplicate non-subsequent occurrences but that's fine because there are no functional differences between having more than one identical occurrences. It's still desirable to skip duplicate occurrences because 1) it makes the snapshot tests easier to review and 2) reduces the final index size, although I suspect it won't make a practical difference for the payload size.

Test plan

See updated snapshot tests.

@olafurpg olafurpg merged commit 8496b0d into main Oct 27, 2022
@olafurpg olafurpg deleted the olafurpg/duplicates branch October 27, 2022 14:35
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.

Snapshot output seems noisy; are we emitting needlessly redundant references?
2 participants