Transcribing C code to Rust

What does the fox profiler say? I noticed that there's a lot of array indexing going on in the Rust transcription. I'm not sure if that comes from the original C code, but maybe bounds checking has a fair share in the slowdown? I'd assume ARM's branch prediction capabilities are in general significantly less sophisticated than those of X86, so it kind of makes sense to me, but…

1 Like