Skip to content

Release v0.5.0

Choose a tag to compare

@github-actions github-actions released this 25 Dec 02:59
· 2 commits to main since this release

Async City Baby (Holiday Edition)

  • Complete overhaul to server code to fully support libusb's async api. I believe this implementation is as optimized as I can get it.
  • Switched to reusable direct allocated bytebuffers. C code writes directly to the buffer with 'zero-copy'.

Overview of async implementation:

Thread1 Thread2 Thread3
Reads incoming data Waits for a finished transfer and processes it Waits for reply in queue
⬇️ ⬇️ ⬇️
Submits transfer Adds reply to queue Sends out reply
⬇️ ⬇️ ⬇️
Immediately returns Immediately returns to process next finished transfer Immediately returns
🔁 🔁 🔁

Notes 📓

Webcam still not working. I'm thinking the issue might not be speed but maybe accuracy. I'm going to have to debug the data I'm sending out deeper.

Full Changelog: v0.4.0...v0.5.0