What is Nostr?
Sos Sosowski /
npub1ua3…429g
2023-09-26 10:33:29
in reply to nevent1q…qe53

Sos Sosowski on Nostr: npub1nqp93…mw9sy Not much reading. Drawing one 256x256 sprite 4000 times on a ...

npub1nqp93y3l9r4cse4mpqlhuq3mjtctlujgyh8ksx8x57wvzt030epq3mw9sy (npub1nqp…w9sy) Not much reading. Drawing one 256x256 sprite 4000 times on a 1920x1080 buffer (one buffer per thread), let me seee....

That's gonna be 256*256*4*4000 is 1GB both ways that's 2GB, seems like you're right, I might be bottlenecking there.

Edit: Ok, I reduced number of sprites and now it gets slower with more threads
Author Public Key
npub1ua39d3vf9eqwln9yjdmznj6dt9vg5et5r0epwz5hy9dyy03nfn7sn8429g