1
Use Arc Instead of Vec (www.youtube.com)
submitted 1 year ago by semi@lemmy.ml to c/rustlang@lemmyrs.org

There have definitely been places in my code where I had to pass around and, in doing that, clone lists of things. This could be useful for these longer-lived pieces of data.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here
this post was submitted on 23 Jun 2023
1 points (66.7% liked)

Rust Lang

2 readers
1 users here now

Rules [Developing]

Observe our code of conduct

Constructive criticism only

No endless relitigation

No low-effort content

No memes or image macros

No NSFW Content

founded 1 year ago
MODERATORS