Minecraft Redstone – Best Way for Connecting Redstone Vertically in Minecraft Java Edition

minecraft-java-editionminecraft-redstone

i am currently working on a big RAM in minecraft and i want to connect the inputs of each row vertically: enter image description here

I want to connect the yellow lines. It should be fast not use too much space.

Best Answer

If low latency is more important than space, you can go straight up in a mostly 1x2 space, with a small section of 2x3:

Ignore the house

If space is more important than low latency, you can replace the repeater with a vertical double NOT gate, which would lower the maximum space from 2x3 to 1x3:

enter image description here