5mm leg discrepancy

Hi guys I am 32 M I am 6 weeks out did a left total hip replacement due to the previous broken femur issue they removed my hardware screws and did hip replacement

Before surgery I wasn’t even able to walk anymore it was bone to bone and my hip never hurt my knee and groin area was killing me

Finally after surgery all those pain are gone but I walk little limping and waddling

I was doc office yesterday he told me 5mm difference incision leg is longer but he told me over time it will correct itself I wanna ask people here 5 mm is too much or will it be gone ? Thank you yall stay safe