Daurnimator wrote: > I was playing around with my fifo library: > https://github.com/daurnimator/fifo.lua/blob/master/fifo.lua It might help to use a FIFO library that's a little bit smarter. Hint: it degenerates to (expensive) hash lookups, hash resizes, etc ... --Mike