Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve performance when saving sub-state #65

Open
MLFlexer opened this issue Oct 4, 2024 · 0 comments
Open

Improve performance when saving sub-state #65

MLFlexer opened this issue Oct 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@MLFlexer
Copy link
Owner

MLFlexer commented Oct 4, 2024

If a user wants to save all workspaces + named windows, then the state for the workspaces would be saved which would include the windows. Then the windows would be saved. This essentially computes the window state twice. The same thing happens for tabs.

This redundant computation can be removed by saving the sub-state (windows in the example above), when computing the state of the parent (workspaces in the example).

This should be a "free lunch" if it is enabled via. Opts to the save functions.

@MLFlexer MLFlexer added the enhancement New feature or request label Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant