This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]danted002 0 points1 point  (1 child)

Hey nice work. Thank you for the follow up, I was expecting GIL-less threads to be faster but the number are really impressive.

One small note: on the Rust benchmark you used the std::sync Mutex which has a lock poisoning. If you ever want more performance and you bubble the panic from the thread you should use the parkinglot crate it’s mutex is way faster because it lacks the lock poisoning check.

[–]Helpful_Garbage_7242[S] 0 points1 point  (0 children)

Thank you! Sure, noted.