refactor: Optimize markedReader.Read() #139
No reviewers
Labels
No labels
breaking-change
bug
dependencies
duplicate
enhancement
go
good first issue
help wanted
invalid
investigation
proposal
proposal-accepted
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nemith/netconf!139
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "brb/push-rslvwlntnnzp"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Read() was just looping over ReadByte(). Which was really fast but this is slighly faster and perhaps more correct by doing larger reads and bytes.IndexByte to search for the deliminator.