Ogeon
palette
BlogDocs

Fix upcoming Clippy lifetime warnings

#419Merged
Comparing
clippy_fixes
(
d78e89d
) with
master
(
e37e2fe
)
+15%
Improvements
2
Regressions
0
Untouched
45
New
0
Dropped
0
Ignored
0

Benchmarks

Improved

matrix_inverse
benchmarks/benches/matrix.rs::benches::matrix::Matrix functions::matrix_inverse
+15%
438.9 ns
381.7 ns
multiply_3x3
benchmarks/benches/matrix.rs::benches::matrix::Matrix functions::multiply_3x3
+10%
316.7 ns
287.5 ns

Passed

yxy to xyz
benchmarks/benches/cie.rs::benches::cie_conversion::Cie family::yxy to xyz
+2%
6.4 µs
6.3 µs
hwb to hsv
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::hwb to hsv
+2%
6.2 µs
6.1 µs
hsl to hsv
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::hsl to hsv
+2%
6.5 µs
6.4 µs
Lab improved delta E
benchmarks/benches/cie.rs::benches::cie_delta_e::Cie delta E::Lab improved delta E
+1%
599.1 µs
593.6 µs
rgb to hsv
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::rgb to hsv
+1%
6.6 µs
6.5 µs
linsrgb to xyz
benchmarks/benches/cie.rs::benches::cie_conversion::Cie family::linsrgb to xyz
0%
5.9 µs
5.9 µs
linsrgb to xyz - Matrix3
benchmarks/benches/cie.rs::benches::cie_conversion::Cie family::linsrgb to xyz - Matrix3
0%
5.9 µs
5.9 µs
linear hwb to hwb
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::linear hwb to hwb
0%
20.2 µs
20.1 µs
rgb to hsl
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::rgb to hsl
0%
7 µs
7 µs
lab to lch
benchmarks/benches/cie.rs::benches::cie_conversion::Cie family::lab to lch
0%
11 µs
10.9 µs
hwb to linear hwb
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::hwb to linear hwb
0%
24.5 µs
24.5 µs
linear hsl to hsl
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::linear hsl to hsl
0%
20.2 µs
20.2 µs
hsl to linear hsl
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::hsl to linear hsl
0%
24.6 µs
24.6 µs
linear hsv to hsv
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::linear hsv to hsv
0%
19.2 µs
19.2 µs
hsv to rgb
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::hsv to rgb
0%
10.5 µs
10.5 µs
hsv to linear hsv
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::hsv to linear hsv
0%
23.6 µs
23.6 µs
lab to xyz
benchmarks/benches/cie.rs::benches::cie_conversion::Cie family::lab to xyz
0%
3.5 µs
3.5 µs
lch to lab
benchmarks/benches/cie.rs::benches::cie_conversion::Cie family::lch to lab
0%
5.2 µs
5.2 µs
Lab delta E
benchmarks/benches/cie.rs::benches::cie_delta_e::Cie delta E::Lab delta E
0%
126.7 µs
126.7 µs
Lch delta E
benchmarks/benches/cie.rs::benches::cie_delta_e::Cie delta E::Lch delta E
0%
585.1 µs
585.1 µs
hsv to hwb
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::hsv to hwb
0%
5.5 µs
5.5 µs
linsrgb to rgb
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::linsrgb to rgb
0%
16.3 µs
16.3 µs
rgb to hsv - wide f32x8
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::rgb to hsv - wide f32x8
0%
3.1 µs
3.1 µs
rgb to linsrgb
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::rgb to linsrgb
0%
16.9 µs
16.9 µs
rgb_u8 to linsrgb_f32
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::rgb_u8 to linsrgb_f32
0%
1.9 µs
1.9 µs
rgb_u8 to linsrgb_f64
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::rgb_u8 to linsrgb_f64
0%
2.3 µs
2.3 µs
xyz to linsrgb - wide f32x8
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::xyz to linsrgb - wide f32x8
0%
1.9 µs
1.9 µs
Lch delta E via Lab
benchmarks/benches/cie.rs::benches::cie_delta_e::Cie delta E::Lch delta E via Lab
0%
584.8 µs
584.9 µs
Lch CIEDE2000
benchmarks/benches/cie.rs::benches::cie_delta_e::Cie delta E::Lch CIEDE2000
0%
5.7 ms
5.7 ms
Lab CIEDE2000
benchmarks/benches/cie.rs::benches::cie_delta_e::Cie delta E::Lab CIEDE2000
0%
5.6 ms
5.6 ms
xyz to lab
benchmarks/benches/cie.rs::benches::cie_conversion::Cie family::xyz to lab
0%
25.5 µs
25.5 µs
rgb to hsl - wide f32x8
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::rgb to hsl - wide f32x8
0%
3.4 µs
3.4 µs
hsl to rgb
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::hsl to rgb
0%
11 µs
11 µs
xyz to linsrgb
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::xyz to linsrgb
0%
6 µs
6.1 µs
xyz to linsrgb - Matrix3
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::xyz to linsrgb - Matrix3
0%
5.9 µs
5.9 µs
rgb to linsrgb - wide f32x8
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::rgb to linsrgb - wide f32x8
-1%
10.9 µs
10.9 µs
linsrgb to rgb - wide f32x8
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::linsrgb to rgb - wide f32x8
-1%
10.9 µs
11 µs
hsv to hsl
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::hsv to hsl
-1%
7 µs
7.1 µs
linsrgb_f32 to rgb_u8
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::linsrgb_f32 to rgb_u8
-1%
7.4 µs
7.5 µs
lms to linsrgb
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::lms to linsrgb
-1%
3.2 µs
3.2 µs
linsrgb_f64 to rgb_u8
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::linsrgb_f64 to rgb_u8
-1%
4.7 µs
4.7 µs
lms to linsrgb - Matrix3
benchmarks/benches/rgb.rs::benches::rgb_conversion::Rgb family::lms to linsrgb - Matrix3
-1%
2.2 µs
2.2 µs
linsrgb to xyz - wide f32x8
benchmarks/benches/cie.rs::benches::cie_conversion::Cie family::linsrgb to xyz - wide f32x8
-2%
1.9 µs
1.9 µs
xyz to yxy
benchmarks/benches/cie.rs::benches::cie_conversion::Cie family::xyz to yxy
-2%
5.8 µs
5.9 µs
rgb_to_xyz_matrix
benchmarks/benches/matrix.rs::benches::matrix::Matrix functions::rgb_to_xyz_matrix
N/A
0 s
0 s

Commits

Click on a commit to change the comparison range
Base
master
e37e2fe
+15%
Fix upcoming Clippy lifetime warnings
d78e89d
1 month ago
by Ogeon
Home Terms PrivacyDocs