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?
- consider the actual effects on someone to be involved in a legal process; for lawyers it's just a workday but for people it's heavy to be accused of a crime and to wait for something awful (jail) to happen.
- define some time reasonable time constraints for everything, in order to give some incentives for the process to speed up. Prosecutors could be measured by how efficient cases go, and paying out some money could be an option.
Or steam rolling cases and imprisoning defendants who are innocent.
The latter isn’t rare already, wait until some prosecutor has to get a few fast cases done so their bosses don’t cut their pay check.