Skip to content

fix: replaced inefficient string logic for sync complete log - #425

Merged
tanderson-ld merged 3 commits into
v9from
ta/sdk-1038/flag-sync-log
Jan 15, 2025
Merged

fix: replaced inefficient string logic for sync complete log#425
tanderson-ld merged 3 commits into
v9from
ta/sdk-1038/flag-sync-log

Conversation

@tanderson-ld

Copy link
Copy Markdown
Contributor

Additional context
String creation of flag collection was happening regardless of logging level. This fix resolves the performance issue in a straightforward way while maintaining enough information to verify SDK is receiving flag data when debugging.

@tanderson-ld
tanderson-ld requested a review from a team as a code owner January 15, 2025 17:31

@keelerm84 keelerm84 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Aside from that one comment it looks good to me.

Comment thread LaunchDarkly/LaunchDarkly/ServiceObjects/FlagChangeNotifier.swift Outdated
Co-authored-by: Matthew M. Keeler <mkeeler@launchdarkly.com>
@tanderson-ld
tanderson-ld merged commit 2099bbe into v9 Jan 15, 2025
@tanderson-ld
tanderson-ld deleted the ta/sdk-1038/flag-sync-log branch January 15, 2025 21:09
tanderson-ld pushed a commit that referenced this pull request Jan 15, 2025
🤖 I have created a release *beep* *boop*
---


##
[9.12.2](9.12.1...9.12.2)
(2025-01-15)


### Bug Fixes

* replaced inefficient string logic for sync complete log
([#425](#425))
([2099bbe](2099bbe))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: LaunchDarklyReleaseBot <LaunchDarklyReleaseBot@launchdarkly.com>
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.

2 participants