For each packet, Noray has to look up the relay associated with the sender AND the target. Both of these are done with a simple Array.find, which loops all the relays. This is a hot path and we want to make sure it's performant.
Done criteria
Performance test is created for relaying performance / bandwidth
Background
For each packet, Noray has to look up the relay associated with the sender AND the target. Both of these are done with a simple Array.find, which loops all the relays. This is a hot path and we want to make sure it's performant.
Done criteria