1 of 6 standards met
Repository: ThePrimeagen/BunSpreader. Description: We spread the buns Stars: 76, Forks: 12. Primary language: Zig. Languages: Zig (82.1%), Rust (6.7%), TypeScript (5.1%), Go (2%), JavaScript (1.6%). Open PRs: 2, open issues: 3. Last activity: 3y ago. Community health: 28%. Top contributors: ThePrimeagen, dnlmlr.
Last 12 weeks · 0 commits
Just watched your video. Cool stuff. So you don't have to write your own next time: https://www.npmjs.com/package/@tsdotnet/queue (still backed by an array, but growing the array does not cause a copy) https://www.npmjs.com/package/@tsdotnet/linked-node-list (faster than linked-list but unsafe) https://www.npmjs.com/package/@tsdotnet/linked-list (managed, but not as fast as linked-node-list)
The fastify server has a route with a parameter but this parameter is never used, instead the variable is hardcoded to 15000: https://github.com/ThePrimeagen/BunSpreader/blob/ca02db8e484e48de09c8f9b457d2bec1862a286b/src/fastify.js#L57 I would assume this changes the behavoir (and therefore the benchmark results) quite a bit, depending on what the client is sending. Am i missing something?
is stored inside that internally uses an Arc for reference counting so there is no need to do it twice. Also I cleaned up imports after removing atomic.