Depends on the range to some extent.
Look at how the LR bullet is made- a heel seated bullet (case is crimped onto a smaller bit at the very rear of the bullet) the HMR uses what looks like a miniature version of a 30-06 bullet. It comes out of the barrel in better shape. And is consistent in shape from shot to shot.
Most 22 LR is dropping back to subsonic speed by 100 yards. As that happens, the bow shock wave moving back on the bullet makes it yaw slightly. The HMR is still supersonic well past 100 yards.
All other things being equal, a bull barrel 22 barrel has less metal than a 17- outer diameters about the same, hole in middle of a .17 is smaller. Slightly stiffer barrel results.
Bullet is not only a LOT faster, it spins faster. Rate of twist for most .22 LR is about 1 in 16. HMR is 1 in 9.