Short Question: Is there something like mpsc, but cheaper and used in single threaded situations?
Long Question: I have some “Objects”, which need to receive messages. I want to be able to send an object a message with only a (non-mutable) reference – as the object does not “update” until the “run_update” function is called.
One way to do this is for each object to have a mpsc. However, given everything is single threaded, I am wondering if there is a less expensive solution.