Skip to content

Update buffer to be channel-based and eliminate locking#145

Merged
cbrady merged 3 commits into
SchematicHQ:mainfrom
Hawxy:bufferv2
May 18, 2026
Merged

Update buffer to be channel-based and eliminate locking#145
cbrady merged 3 commits into
SchematicHQ:mainfrom
Hawxy:bufferv2

Conversation

@Hawxy
Copy link
Copy Markdown
Contributor

@Hawxy Hawxy commented Apr 29, 2026

The ConcurrentQueue + SemaphoreSlim combination has been made mostly obsolete by Channels. Also replaced the locks with read/write barriers as it was unnecessary overhead for this usage.

@Hawxy Hawxy requested a review from a team as a code owner April 29, 2026 09:40
Comment thread src/SchematicHQ.Client/EventBuffer.cs Outdated
Comment thread src/SchematicHQ.Client/EventBuffer.cs
Comment thread src/SchematicHQ.Client/EventBuffer.cs Outdated
@cbrady cbrady merged commit 7c7b8ae into SchematicHQ:main May 18, 2026
3 checks passed
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