updated benchmark results & tiny overall adjustments
This commit is contained in:
+1
-1
@@ -93,7 +93,7 @@ impl<'p> Curve<'p> {
|
||||
// Remaining iterations
|
||||
for (i, (&v1, &v2)) in (2..).zip(points.iter().zip(points.iter().skip(1))) {
|
||||
let v3 = points.get(i).copied().unwrap_or_else(|| v2 * 2.0 - v1);
|
||||
let v3 = points.get(i + 1).copied().unwrap_or_else(|| v3 * 2.0 - v2);
|
||||
let v4 = points.get(i + 1).copied().unwrap_or_else(|| v3 * 2.0 - v2);
|
||||
|
||||
Self::catmull_points(&mut result, v1, v2, v3, v4);
|
||||
}
|
||||
|
||||
+2
-2
@@ -118,7 +118,7 @@
|
||||
//!
|
||||
//! ## Roadmap
|
||||
//!
|
||||
//! - osu sr versions
|
||||
//! - \[x\] osu sr versions
|
||||
//! - \[x\] all included
|
||||
//! - \[x\] no_leniency
|
||||
//! - \[x\] no_sliders_no_leniency
|
||||
@@ -473,4 +473,4 @@ compile_error!("Only one of the features `no_leniency`, `no_sliders_no_leniency`
|
||||
compile_error!("The features `no_leniency`, `no_sliders_no_leniency`, and `all_included` should only be enabled in combination with the `osu` feature");
|
||||
|
||||
#[cfg(all(feature = "async_tokio", feature = "async_std"))]
|
||||
compile_error!("Only one of the async features `async_tokio` and `async_std` should be enabled");
|
||||
compile_error!("Only one of the features `async_tokio` and `async_std` should be enabled");
|
||||
|
||||
@@ -22,6 +22,7 @@ fn depth_limited_quick_sort(
|
||||
loop {
|
||||
if depth_limit == 0 {
|
||||
heap_sort(keys, left, right);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user