Skip to content

Conversation

michaelnebel
Copy link
Contributor

@michaelnebel michaelnebel commented Mar 12, 2024

In this PR we replace the last uses of getFullyQualifiedName and getFullyQualifiedNameWithTypes (and deprecate and uncache these) with their hasFully.. counterparts to avoid unneeded string concatenation (and thus pressure on the string pool).
Further more we delete some of the deprecated caches predicates.

@github-actions github-actions bot added the C# label Mar 12, 2024
@michaelnebel michaelnebel force-pushed the csharp/qualifiedname branch from bb3df9f to 15ae64f Compare March 13, 2024 08:21
@michaelnebel michaelnebel changed the title C# [Test]: Qualified Name. C#: Fully qualified name. Mar 13, 2024
@michaelnebel michaelnebel force-pushed the csharp/qualifiedname branch from 3d85686 to 8093e28 Compare March 13, 2024 15:27
@michaelnebel michaelnebel added the no-change-note-required This PR does not need a change note label Mar 14, 2024
@michaelnebel
Copy link
Contributor Author

DCA looks good.
Without affecting performance, we can reduce the string cache size with around 55%.

@michaelnebel michaelnebel marked this pull request as ready for review March 14, 2024 12:38
@michaelnebel michaelnebel requested a review from a team as a code owner March 14, 2024 12:38
@michaelnebel michaelnebel requested a review from hvitved April 5, 2024 07:29
@michaelnebel michaelnebel force-pushed the csharp/qualifiedname branch from 8093e28 to fc689ef Compare April 8, 2024 11:48
@michaelnebel michaelnebel marked this pull request as draft April 8, 2024 14:42
@michaelnebel michaelnebel marked this pull request as ready for review April 9, 2024 09:11
@michaelnebel
Copy link
Contributor Author

Running DCA again, just to be on the safe side.

@michaelnebel
Copy link
Contributor Author

DCA looks good! 55% string cache reduction.

@michaelnebel michaelnebel merged commit bd1de17 into github:main Apr 9, 2024
@hvitved
Copy link
Contributor

hvitved commented Apr 9, 2024

55% string cache reduction.

😮 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C# no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants