cyotek/Cyotek.Collections.Generic.CircularBuffer

Enumerate backwards

Opened this issue · 0 comments

Hi,

Sorry if I missed this in the tests - is there a way to enumerate backwards? I have data being added, but I'd like to look backwards through the buffer until I find a certain "thing". I still want the buffer to be added on to. I might have 300/400 items in there, but I don't know how far back I might need to go.

Any suggestions on the most efficient way of accomplishing this?