Skip to content

Conversation

@eoghanmurray
Copy link
Contributor

An alternative PR to #1387

I've also renamed getHref to getHrefWithoutHash to better reflect what it is doing

@changeset-bot
Copy link

changeset-bot bot commented Mar 29, 2024

🦋 Changeset detected

Latest commit: 7b2d101

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 8 packages
Name Type
rrweb-snapshot Patch
rrweb Patch
rrdom Patch
rrdom-nodejs Patch
rrweb-player Patch
@rrweb/types Patch
@rrweb/web-extension Patch
rrvideo Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Member

@YunFeng0817 YunFeng0817 left a comment

Choose a reason for hiding this comment

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

Thank you for facilitating this great pull request!

@H4ad
Copy link
Contributor

H4ad commented Mar 30, 2024

This version looks slower than my version and even the original version:

image

Benchmark: https://jsbench.me/ktlqztuf95/2

@eoghanmurray
Copy link
Contributor Author

Thanks @H4ad I had been focusing on the correctness and assumed the perf. improvement, so will close this in favour of the original.

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.

3 participants