There is a reason why speed hikers and FKT-ers prefer to hit the high Sierra trails in late August or early September - consistent weather and perfect trail conditions. You will definitely encounter lots of snow in mid July (this winter was unusually snowy). That said, both options are perfectly doable (but expect it to take a bit longer in mid July).