skewballfox / sniper

a cross-editor snippet manager featuring modular snippet sets
34 stars 0 forks source link

consider moving from `mpsc::chanel` to `ringbuf` w/ `notify` #17

Open skewballfox opened 2 years ago

skewballfox commented 2 years ago

not at all necessary and pretty low on the list of priorities, but I kind of want to experiment with the combination of these two given that the logic for returning a snippet is synchronous, with only asynchronous part being returning components as they become available.

I first came across this suggestion in this comment on a relevant rust user forum post

definitely want to benchmark the two implementations against each other though, so this should probably wait until much later