Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Changed slcan serial read routine to be faster and to manage the buffer more carefully#2028

Open
aaronfultonnz wants to merge 5 commits intohardbyte:main from
aaronfultonnz:main
Open

Changed slcan serial read routine to be faster and to manage the buffer more carefully #2028
aaronfultonnz wants to merge 5 commits intohardbyte:main from
aaronfultonnz:main

Conversation

@aaronfultonnz
Copy link

@aaronfultonnz aaronfultonnz commented Feb 13, 2026

Summary of Changes

Changes the serial read in slcan to be faster by reading all available bytes at once rather than one at a time. This is a huge performance boost (at least on windows).

Related Issues / Pull Requests

aaronfultonnz and others added 3 commits February 16, 2026 14:21
Co-authored-by: zariiii9003 <52598363+zariiii9003@users.noreply.github.com>
Co-authored-by: zariiii9003 <52598363+zariiii9003@users.noreply.github.com>
Copy link
Author

Thanks for the comments. Code has been updated

Copy link
Collaborator

@zariiii9003 zariiii9003 left a comment

Choose a reason for hiding this comment

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

Looks good. Please add a news fragment so i can merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@zariiii9003 zariiii9003 zariiii9003 approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Performance fix for slcan

Comments

AltStyle によって変換されたページ (->オリジナル) /