17 is closer to 22 mag only flatter shooting and more affected by wind. downrange 22mag carries more energy and less affected by wind -- both are great rounds depending on what you are looking for
I challenge you to find any ballistic charts which back up the claim of the 22mag exhibiting less wind drift than the 17 HMR. You will not find it. What you will find are charts showing just the opposite, by a significant margin.
The most significant difference between the two rounds which is affected by wind drift is bullet design. 17HMR is a boat tail Spitzer. A 22mag is not.
Another difference affected by wind drift is bullet speed, 2,550 (17HMR) versus 1,900-2,000 (22mag).
In my opinion, the 17 HMR does not make the 22mag obsolete or vice versa. They both shine for different scenarios.
I am just saying that wind drift needs to be better understood when selecting either of the two rounds.