In my opinion, the shortest route in an urban environment is along busy streets. Although I'm perfectly able to ride in mixed traffic, unless there are bike lanes, I prefer to look for side streets and trails. The lower the number of moving cars encountered, the lower the risk of fatality. Doing that adds distance as you'll be meandering all over the place.