I hope you aren't doing 50 when there are pedestrians around!
But otherwise yeah, exactly. One of my favourite things to do is race my friends on the 3 metre–wide Gateway North Bikeway stretch starting at the top of the hill, a 3.5 km stretch where I try to keep above 50 km/h as long as possible once it flattens out, and then keep it going as fast as I can until the end of the 5 km "lap" on my Garmin (where exactly that is depends on the exact route I took for the rest of my ride). There are rarely any pedestrians around, or on the rare circumstance there are pedestrians, the path is so wide and clear that it's very easy to give them a very wide berth, as long as it doesn't happen at the same time as a cyclist coming the other way.