What works for a freight railroad in the US may not for an intensive passenger railway in the civilised world

. It is possible to install intermediate 'flighting' signals all the way in both directions through a long single line between A & B to allow trains to follow each other closely and you could run intensively in one direction from A to B all day but the big problem is when you want to switch direction. You have to wait for the last train in one direction to completely clear the single line at B before sending the first one in from B to A. Some freight roads in the US use this flighting technique to handle high volumes with (say) a series of northbounds in the mornings, and southbounds in the afternoon. In some trunk corridors there are broadly parallel single lines between major cities via different routes which, although they each remain fully signalled for both directions, are used predominantly in opposing directions over the longer corridor. Minor traffic flows which go in the 'wrong' direction can still be handled on each route but they clearly have to give way to the predominant flow direction, getting 'sidetracked' frequently and waiting a long time when they do.
Loops for passenger operations are best located at stations so any out of course waiting can be done at a platform where passengers can be de-trained or trains reversed, if something goes wrong subsequently. Passengers also notice a wait slightly extended over normal at a station far less than they would an unexpected stop in the middle of nowhere.
For a longer distance mainline type of operation a 'dynamic loop' arranged either side of a station stop like Axminster on the Waterloo - Exeter line works very well. Here the loops are around 3 miles long which gives a little resilience to cope with minor late running, preventing a small arrival delay in one direction impacting departure in the other. The loop turnouts must be designed for fast running in either switch position in this case, to avoid unnecessary slowing so far from the station.
For shorter, more self-contained routes, shorter passing loops with slower, cheaper turnouts closer to the platform ends are more appropriate.
A variant of the short branch line loop is the 'Penryn style' design. Here platforms for both directions are arranged sequentially on the same side of the single line and one of the loop turnouts is situated between them with a bypass line allowing access for one train around another train already standing in one of the platforms. In the UK this was first employed on the Truro-Falmouth branch in Cornwall when services were increased in 2009.
https://en.wikipedia.org/wiki/Penryn_railway_station
A similar arrangement has since been provided at Dovey Junction (Cyffordd Dyfi) on the Cambrian line in Wales. The loop was reinstated in this manner with an extended platform along the Aberystwyth line in conjunction with route capacity work and the pilot ETCS resignallling project.
The big advantage of the 'Penryn-style' layout is the avoidance of a very expensive and perhaps difficult to build and visually obtrusive DDA compliant access footbridge to a second platform remote from the main station street access. Sometimes this is not an issue, for instance when the railway is in a cutting or embankment and compliant access to both platforms can be made from a road bridge via relatively low cost graded footpaths up or down the earthworks. The access consideration (or the cost increment versus a simple stepped footbridge) became necessary once disabled regulations were given the force of law and because pedestrian level crossings for such purposes also became unacceptable for safety reasons in new schemes. Lifts can be used in conjunction with stairs to avoid long ramps, but they are also very expensive and more importantly with branch lines raise many concerns over security, failures and maintenance, power supply robustness, etc , etc. They are completely inappropriate really at unmanned stations.
It is interesting to note by contrast that if a railway is classified 'light rail' then pedestrian level crossings for access from one platform to the other are perfectly acceptable under current regulations and guidance even with high platforms and very frequent service on a largely segregated double track route. For many examples see Manchester Metrolink.