Skip to content

Avoid linear lookup when checking new members#1845

Merged
pcapriotti merged 1 commit intodevelopfrom
pcapriotti/cleanup-check-locals
Dec 7, 2021
Merged

Avoid linear lookup when checking new members#1845
pcapriotti merged 1 commit intodevelopfrom
pcapriotti/cleanup-check-locals

Conversation

@pcapriotti
Copy link
Contributor

Just a small refactoring to avoid quadratic runtime building a user team membership map when adding new members to a conversation.

No CHANGELOG entry.

Checklist

  • The PR Title explains the impact of the change.
  • The PR description provides context as to why the change should occur and what the code contributes to that effect. This could also be a link to a JIRA ticket or a Github issue, if there is one.

@jschaul jschaul requested a review from mdimjasevic November 3, 2021 20:13
Copy link
Contributor

@mdimjasevic mdimjasevic left a comment

Choose a reason for hiding this comment

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

Oh, I forgot about this one! It looks to me like it'll need conflict resolving due to the Polysemy effect changes to Galley.

@pcapriotti pcapriotti force-pushed the pcapriotti/cleanup-check-locals branch from e04e695 to 7cafbc0 Compare November 18, 2021 07:53
@pcapriotti pcapriotti force-pushed the pcapriotti/cleanup-check-locals branch from 742b451 to 1d0f47a Compare December 3, 2021 09:15
@pcapriotti pcapriotti force-pushed the pcapriotti/cleanup-check-locals branch from 1d0f47a to b7153e9 Compare December 7, 2021 12:55
@pcapriotti pcapriotti merged commit 743cd1a into develop Dec 7, 2021
@pcapriotti pcapriotti deleted the pcapriotti/cleanup-check-locals branch December 7, 2021 16:40
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