Skip to content

Conversation

@Numpsy
Copy link
Contributor

@Numpsy Numpsy commented Jul 13, 2025

Just a thought when playing with things - looks like creating these sets inside visitDeclaration creates a substantial number of lists and sets, and as the contents are constant it doesn't seem like it should need to create them more than once?

Running a memory profile of the SDK cli tool against one of my projects got this before:

image

and this after:

image

@TheAngryByrd
Copy link
Member

Thanks! I'll merge it when I'm ready to release.

@TheAngryByrd TheAngryByrd merged commit 1a27588 into ionide:main Aug 2, 2025
2 checks passed
@TheAngryByrd TheAngryByrd changed the title Move membersToIgnore/exprTypesToIgnore out of visitDeclaration() Perf: Move membersToIgnore/exprTypesToIgnore out of visitDeclaration() Aug 2, 2025
@Numpsy Numpsy deleted the mem_tweak branch August 3, 2025 10:20
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