In Europe most high speed rails use dedicated tracks. For example, tracks for high speed trains are welded together, unlike tracks for slower trains. Instead of leaving a small gaps along the track, high speed tracks deal with thermal expansion by pre-stressing the tracks with hydraulic tensors [1] as they are welded (so high speed trains have no too-toom-too-toom :-))
[1] https://en.m.wikipedia.org/wiki/Rail_stressing