Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

feat: simplify broadcast cancel logic#399

Merged
dirkmc merged 1 commit intoperf/peer-want-mgrfrom
simplify-broadcast-cancels
May 21, 2020
Merged

feat: simplify broadcast cancel logic#399
dirkmc merged 1 commit intoperf/peer-want-mgrfrom
simplify-broadcast-cancels

Conversation

@Stebalien
Copy link
Member

Instead of tracking offsets, just create a "new" slice starting with the broadcast cancel slice. Under the covers, this will just use the same memory over and over.

Instead of tracking offsets, just create a "new" slice starting with the
broadcast cancel slice. Under the covers, this will just use the same memory
over and over.
Copy link
Contributor

@dirkmc dirkmc left a comment

Choose a reason for hiding this comment

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

Nice, thanks! 👍

@dirkmc dirkmc merged commit 60b07e9 into perf/peer-want-mgr May 21, 2020
@Stebalien Stebalien deleted the simplify-broadcast-cancels branch June 30, 2021 20:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants