asynchronics / asynchronix

High-performance asynchronous computation framework for system simulation
Apache License 2.0
170 stars 9 forks source link

Take message by ref in (filter)map_connect closures #35

Closed sbarral closed 3 weeks ago

sbarral commented 3 weeks ago

This avoids preemptive cloning when the closures don't consume the message, which is common when the filtering closure returns None.