It would be great if these things were faster - in fact, we cared so much to make it so that it's included as part of our 6th amendment. In practice, it's almost exclusively not the case, even if higher profile cases. Two bits of personal anecdata, a death of a friend's brother due to fentanyl lead to the arrest of a drug dealer (with priors, and found in possession of illegal weapons). Open and closed case, right? Still took a year. Similarly, the exact same thing happened to my brother's friend - three years on, the trial just concluded. Several bigger cases in my area, the Rittenhouse and more recently Brooks cases also took a year.
I'm not sure what you mean with your second half though, are you suggesting detaining people during this period and pro-rating their sentence and/or paying them? Or are you saying that they should wait outside of jail, but still have it counted towards their sentence? I don't quite follow exactly. Edit: seems the latter. I'm not sure my opinion, having a case looming over you seems potentially difficult, especially if you're later found innocent, but should the government (/citizens) foot the bill for that?