How effective is early ambulation compared to bed rest on decreasing post-op DVTs

In adult patients with total hip replacement, how effective is early ambulation compared to bed rest on decreasing post-op DVTs