improvement: Try to optimize coverage phase by tgodzik · Pull Request #24925 · scala/scala3

Main optimization is to only deserialize and serialize coverage files once. Tested it locally and it did seem to help. Should help with #24909