Donough Liu

Results 49 comments of Donough Liu

> Below are my build options. Can you see any anomalies? Nope, it's legit. Did you compile your Rust project in release mode? https://github.com/rust-lang/cargo/pull/13257

> @Codewithteju Yes, I found the rust based ffmpeg solutions all have this issue. @Mon-ius Could you provide a minimal reproducible example in Rust and C? It's pretty interesting that's...

The output of `cargo expand` reveals the issue: ![img_v3_02ep_24b38cde-8b28-4a7a-9ecd-17c19e6cfa0g](https://github.com/user-attachments/assets/e1f17ce8-7fec-46c7-99ca-023c8e596f26) Type of `owned_value` was inferred as `String`(because of the function signature of `prost::encoding::string::merge`), while it should be `Box` actually. ![image](https://github.com/user-attachments/assets/4d41d5f0-ceb1-4a95-839e-f9b9ef033f28)

CI failure should be fixed by https://github.com/fmeringdal/rust-rrule/pull/140

Hmm, I tested it on my x64 machine, improvements is not that significant though. There might be some subtle difference between sse2 and neon.

> I'm getting varying results on different systems: > > Cortex-A72: > > ``` > old: test insert ... bench: 83,321.21 ns/iter (+/- 579.96) > new: test insert ... bench:...