swapvec icon indicating copy to clipboard operation
swapvec copied to clipboard

SwapVecDeque

Open gitmalong opened this issue 1 year ago • 1 comments

When working with FIFO/LIFO access patterns one might only want to keep the last x front/back elements in memory. This may have great performance while still keeping memory low.

The concrete issue I am trying to solve is that single postgres queries for such a access pattern are still too slow in my case.

gitmalong avatar Aug 04 '24 11:08 gitmalong

I found that MacOS automatically switches to swap memory in case my rust app consumes ton of memory.

gitmalong avatar Aug 04 '24 12:08 gitmalong