Modeling a multiple ownership scenario

It works, @alice.

The performance profile hasn't changed, though. This version with Rc<str> is within 8% of the previous one with Strings.

Evidently, I need to understand several more things to be able to dig deeper into the factors affecting performance.

Thanks so much to all those who responded with suggestions and guidance!

It would probably take some investigation to figure out why it is slower, but it's most likely because the Rust version is spending time on something you aren't doing in the Go version. You might try a flamegraph.

The repo is no longer available, and I'd be super curious to check it and comment on possible improvements.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.