Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
0x1ceb00da
1y ago
0 comments
Share
Do you have any references? I thought all wgpu objects are wrapped with an Arc<Mutex<>>.
undefined | Better HN
0 comments
default
newest
oldest
jcelerier
1y ago
That sounds wild to me. In c++ I remember a time where I increased the frame rate of a particle renderer from 20fps to 60fps+ simply by going from passing shared_ptr (Arc equivalent) to passing references.
0x1ceb00da
OP
1y ago
Nevermind. Just an Arc<>.
j
/
k
navigate · click thread line to collapse