BunSpreader icon indicating copy to clipboard operation
BunSpreader copied to clipboard

We spread the buns

Results 8 BunSpreader issues
Sort by recently updated
recently updated
newest added

Look ma, no mutex

The mutex is gone, nowhere to be seen. I'm not saying my replacement is any good, it is only mutex-free.

`MyQueue` is stored inside `web::Data` 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.

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...

The fastify server has a route with a parameter `/json/time_in_queue` 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...

Haven't tested this at all, so it could be a lot worse idk. I think a custom hasher would boost performance a lot, but I'm too lazy. Also there was...

The JS / TS `List` versions use a very classic linked list implementation. Linked list performance is generally pretty bad except for a few edge cases and a pure JS/TS...

I have used this recipe many times. Even my mom enjoyed these buns, and she was the one who made all the homemade bread on the farm. Having her seal...