OpenGeoscience / geojs

High-performance visualization and interactive data exploration of scientific and geospatial location aware datasets
https://opengeoscience.github.io/geojs
Apache License 2.0
441 stars 75 forks source link

perf: Stop using jquery extend #1342

Closed manthey closed 1 week ago

manthey commented 1 week ago

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.

manthey commented 1 week ago

Confirmed by external source.

github-actions[bot] commented 1 week ago

:tada: This PR is included in version 1.12.6 :tada:

The release is available on:

Your semantic-release bot :package::rocket: