Skip to content

#18: Optimize reading and parsing events#19

Open
Sidequest-Ju wants to merge 1 commit into
alexforster:masterfrom
Sidequest-Ju:master
Open

#18: Optimize reading and parsing events#19
Sidequest-Ju wants to merge 1 commit into
alexforster:masterfrom
Sidequest-Ju:master

Conversation

@Sidequest-Ju

@Sidequest-Ju Sidequest-Ju commented Feb 15, 2023

Copy link
Copy Markdown

Fix of issue #18

  • add a concurrent queue with two worker threads
  • EventReader: reads incoming events from stream and enqueues them
  • EventWorker: dequeues events and parses them into a AmiMessage
  • DataEventArgs is extended to directly retrieve the parsed AmiMessage (no additional parsing needed)
  • But this also removes the use of Reactive Extensions

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