[BUGFIX] Use `Set()` instead of custom array unique implementation
JavaScript has a native Set() object that ensures uniqueness of values by design and is therefore faster than any custom uniqueness implementation. The Install Tool had an obvious implementation that is superseded by `Set()`, being several milliseconds faster, depending on the client's CPU. Resolves: #99987 Releases: main, 11.5 Change-Id: I6b566b97c70b241070b78b841350a6b21b64a5a6 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77897 Tested-by:core-ci <typo3@b13.com> Tested-by:
Nikita Hovratov <nikita.h@live.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Nikita Hovratov <nikita.h@live.de> Tested-by:
Torben Hansen <derhansen@gmail.com> Reviewed-by:
Torben Hansen <derhansen@gmail.com> Tested-by:
Oliver Bartsch <bo@cedev.de>
Showing
- Build/Sources/TypeScript/install/module/upgrade/extension-scanner.ts 1 addition, 10 deletions...es/TypeScript/install/module/upgrade/extension-scanner.ts
- typo3/sysext/install/Resources/Public/JavaScript/module/upgrade/extension-scanner.js 1 addition, 1 deletion...ces/Public/JavaScript/module/upgrade/extension-scanner.js
Please register or sign in to comment