Skip to content

url: don't update URL immediately on update to URLSearchParams

This removes the performance impact caused by updating URL when interacting with URL.searchParams, moving that cost to the first access of URL.search, URL.href, URL.toString(), or URL.toJSON(), or to the first update of any part of the URL.

Fixes: https://github.com/nodejs/node/issues/51518

Merge request reports

Loading