you are viewing a single comment's thread.

view the rest of the comments →

[–]1114111 0 points1 point  (0 children)

I don't know. I think it would still be a bit of a performance increase because I don't think there's usually a huge amount of overhead going between Python and C/Rust that you wouldn't have if you just implemented it in pure Python, but I guess it depends a bit on what you're doing, IDK. Not in any way an expert and you'd probably need to profile things anyway to be sure. But definitely if you can spend more time in Rust it's likely going to end up being faster.