Skip to content

LogMessage GetProperties without FrozenDictionary#7968

Merged
Aaronontheweb merged 1 commit intoakkadotnet:devfrom
snakefoot:dev
Dec 17, 2025
Merged

LogMessage GetProperties without FrozenDictionary#7968
Aaronontheweb merged 1 commit intoakkadotnet:devfrom
snakefoot:dev

Conversation

@snakefoot
Copy link
Contributor

Repeating the optimization of not parsing PropertyNames when empty Parameters. See also #7960

Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

// Optimize: avoid ToArray() if Parameters() already returns IReadOnlyList
if (parameters is IReadOnlyList<object> readOnlyList)
{
_properties = CreatePropertyDictionary(PropertyNames, readOnlyList);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Aaronontheweb Aaronontheweb enabled auto-merge (squash) December 17, 2025 20:54
@Aaronontheweb Aaronontheweb added this to the 1.5.58 milestone Dec 17, 2025
@Aaronontheweb
Copy link
Member

Tests that failed are some racy tests we still haven't managed to fix (the stress test one is particularly tricky) - unrelated to your PR.

@Aaronontheweb Aaronontheweb merged commit ca6f8d4 into akkadotnet:dev Dec 17, 2025
7 of 11 checks passed
Arkatufus pushed a commit to Arkatufus/akka.net that referenced this pull request Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants