Skip to content

Conversation

gbaraldi
Copy link
Member

The implementation is pretty simple, though I have some questions for either @vtjnash or @vchuravy . type_in_worklist is called when both saving to stream and preparing the serialization data. Should I reinit the hashtable between or is it correct to share it like here.

This should fix #53331 but the example there is currently broken on master.

@vtjnash
Copy link
Member

vtjnash commented Mar 15, 2024

It is correct to share it. In theory, the second one could be replaced by a lookup into this map as well, as the first step populated all of the tables and then the saving step is just a lookup into those results.

@vchuravy
Copy link
Member

Replaced by #57917

@vchuravy vchuravy closed this Mar 31, 2025
@vchuravy vchuravy deleted the gb/hashtable_typelist branch March 31, 2025 11:25
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.

Deeply recursive types highlight performance issue in sysimg creation, type_in_worklist is inefficient.
3 participants