remove async pp calculation & reset to v0.1.1

This commit is contained in:
MaxOhn
2021-02-23 19:45:10 +01:00
parent 739c512203
commit 584e1c5714
6 changed files with 1 additions and 35 deletions
-5
View File
@@ -181,11 +181,6 @@ impl<'m> TaikoPP<'m> {
}
}
#[inline]
pub async fn calculate_async(self) -> PpResult {
self.calculate()
}
fn compute_strain_value(&self, stars: f32) -> f32 {
let exp_base = 5.0 * (stars / 0.0075).max(1.0) - 4.0;
let mut strain = exp_base * exp_base / 100_000.0;