Avoid closure allocations when applying hit object results
Co-authored-by: Dean Herbert <pe@ppy.sh>
This reverts commit 1acff746ee, reversing changes made to 696ecda398.
1acff746ee
696ecda398
JudgementPiece
TextJudgementPiece
`else if` proves to be insidious once again.
Perfect
It is not needed anymore as TimeAbsolute is stored raw.
Calculating from TimeOffset is bad because it loses precision. The result time won't change anymore even If `HitObject.GetEndTime()` changes later.
Previously, some judgement results were not reverted when the source DHO is not alive (e.g. frames skipped in editor). Now, all results are reverted in the exact reverse order.
ISkinComponent
ISkinLookup
DrawableJudgement
RemoveInternal
Undated, but change was made on 2020-11-18.