Mesecons speed advices
This article exists to provide advices on the speed of Mesecons mod devices. Please add your ideas to discussion so we have easily-readable list of solutions.
Wire lengths
Each mesecon wire changes its style when switching. It means changing the database and interacting with client, plus lots of Lua processing. By minimizing wire lengths, you minimize the processing delay your device adds and vice versa, so please use shorter wires.
Digiline wires partially help. In general, digiline devices are less active and you can speed up some processing using digiline injectors instead of stackwise ones, at least currently.
Spacing
Mesecons devices work after player approaches them and stop some time later. When you make a device, you want to put it far enough from others to avoid too much things working at the same time.
There exists a concept of mapblock, not a certain block of the map, but a cube containing a number of normal blocks. I am not really sure, but it's probably 32x32x32 blocks. :TODO: It's best to put the whole device inside one mapblock.
You can currently see the mapblock you are at with "/mesecons_hud on".