top | item 37846595

(no title)

mhartz | 2 years ago

Can someone help me understand Figure 2? Why does the newest token appear at the beginning of the sequence rather than next to its neighboring token?

discuss

order

nivekkevin|2 years ago

it's a rolling buffer, so it just upsert index % 4 in this case

mhartz|2 years ago

Thanks, so does that mean position within the buffer is irrelevant?