Skip to content
Snippets Groups Projects
Commit bf049e60 authored by Andreas Fernandez's avatar Andreas Fernandez Committed by Christian Kuhn
Browse files

[TASK] Cache state in collapse-state-persister

The module `@typo3/backend/utility/collapse-state-persister` performs
several JSON decoding tasks on the same objects that are read from the
client's localStorage. To save some milliseconds, a `Map`-based cache
is introduced that saves some JSON operations, depending on how many
nodes are expanded.

Resolves: #99794
Releases: main
Change-Id: I6f659390243fc1dd156b20664185f96502267dc1
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77668


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent d2f2ba2e
Branches
Tags
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