lf-lang / reactor-uc

A lightweight reactor runtime targeted at resource-constrained embedded systems
BSD 2-Clause "Simplified" License
2 stars 2 forks source link

Buffer events in Connections, not Inputs #27

Closed erlingrj closed 4 weeks ago

erlingrj commented 4 weeks ago

If we have a DelayedConnection with 1 upstream and N downstream we would like to schedule a single event into the future and then copy the data over to the N downstream. Currently we do N schedules and that is inefficient.

This requires a redesign of the hierarchy because Connections will now have to be Triggers.