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

perf: Stop using jquery extend #1342

Merged
merged 1 commit into from
Nov 15, 2024
Merged

perf: Stop using jquery extend #1342

merged 1 commit into from
Nov 15, 2024

Conversation

manthey
Copy link
Contributor

@manthey manthey commented Nov 15, 2024

Pure javascript is faster.

jquery.extend has shallow and deep versions. All shallow versions were replaced with Object.assign. All deep versions use a new method called deepMerge with seems to run in about 40% of the time the jquery deep extend runs.

Pure javascript is faster
@manthey
Copy link
Contributor Author

manthey commented Nov 15, 2024

Confirmed by external source.

@manthey manthey merged commit 689846c into master Nov 15, 2024
12 checks passed
@manthey manthey deleted the no-jquery-extend branch November 15, 2024 21:35
Copy link

🎉 This PR is included in version 1.12.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant