Skip to content

Conversation

@metux
Copy link
Contributor

@metux metux commented Dec 11, 2025

Simplify saveSet handling by just using trivial struct xorg_list instead
of complicated dynamically resized array. Common operations like insert or
remove are much simpler using lists instead of arrays.

Signed-off-by: Enrico Weigelt, metux IT consult info@metux.net

Simplify saveSet handling by just using trivial `struct xorg_list` instead
of complicated dynamically resized array. Common operations like insert or
remove are much simpler using lists instead of arrays.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
@metux metux force-pushed the pr/dix-use-xorg-list-saveset-list-_2025-12-11_17-59-14 branch from 695c460 to 4adf438 Compare December 15, 2025 09:26
@stefan11111
Copy link
Contributor

@metux Are these arrays heavily used for random access/addition/removal?

If so, we're significantly impacting performance by moving to linked lists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants