Skip to content

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

Open
Hawxy wants to merge 3 commits into
SchematicHQ:mainfrom
Hawxy:bufferv2
Open

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

Conversation

@Hawxy
Copy link
Copy Markdown

@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
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