Skip to content
Snippets Groups Projects
Commit 6f531228 authored by Andreas Fernandez's avatar Andreas Fernandez Committed by Oliver Bartsch
Browse files

[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: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
Tested-by: default avatarTorben Hansen <derhansen@gmail.com>
Reviewed-by: default avatarTorben Hansen <derhansen@gmail.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
parent a108cc63
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment