dclause / dclause/hermes-five

Use a single task to handle all input device listeners instead of one per instance

Open
#22 0 comments 0 reactions 0 assignees View on GitHub
performance
Dominant language
Rust
Stars
38
Forks
1
PR merge metrics
No merged PRs in 30d

Description

**Motivation:**
Currently, each input device (buttons, digital/analog inputs, etc.) spawns its own internal task to poll pin values. This is inefficient.
The goal is to consolidate this into a single shared task that monitors all relevant pins, leveraging attributes like _digital_reported_pins_ in `IoData`.

This would reduce task overhead and improve runtime performance, especially in configurations with many input devices.

**Notes:**
The implementation strategy is still open: this issue requires investigation to determine the best design.

**API Changes:**
None. This is an internal optimization with no external impact.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.