Skip to content

Use mark_at_start() in GC full collection.#142028

Draft
nascheme wants to merge 2 commits intopython:mainfrom
nascheme:gc-full-mark-alive
Draft

Use mark_at_start() in GC full collection.#142028
nascheme wants to merge 2 commits intopython:mainfrom
nascheme:gc-full-mark-alive

Conversation

@nascheme
Copy link
Member

This provides a pretty significant performance increase for full collections.

When running the gc_big_tree benchmark, full collections become about 4x faster on my PC.

This provides a pretty significant performance increase for full
collections.
@nascheme nascheme added type-feature A feature request or enhancement performance Performance or resource usage labels Nov 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance Performance or resource usage type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant