Y
Hacker News
new
|
ask
|
show
|
jobs
by
0x1ceb00da
739 days ago
Do you have any references? I thought all wgpu objects are wrapped with an Arc<Mutex<>>.
1 comments
jcelerier
738 days 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.
link
0x1ceb00da
732 days ago
Nevermind. Just an Arc<>.
link