Are you planning on keeping plants, so that the plants are the priority in the tank or are the shrimps the priority?
Cross flow in the tank like that is great for eliminating dead spots in a planted tank, so that nutrients can reach the plants. But there is no longer a low flow area for shrimps. Shrimps prefer some still water. I'm assuming you are turning this into a shrimp tank since you posted in a Shrimp setup area. If the tank is for fish, than the fish won't mind either option.
If flow across the entire width of the tank is important to you, than a long cross bar outflow is better than a lily pipe. The cross bar pipe will create a much wider flow pattern.
We are limited with options, and some compromises are to be made in a closed loop system like an aquarium. So just pick one option that is most suitable for the inhabitants of the tank that you are prioritising.