Join Nostr
2026-08-23 10:26:06 UTC
in reply to

Kojack 🦎 on Nostr: nprofile1q…8hm63 If it was my circular buffer class, adding to the end or beginning ...

If it was my circular buffer class, adding to the end or beginning is the same. :)

I could imagine a custom C# array class that handles both begin and end as equal if the plus operator returns a new array instead of modifying, since either case would involve a full array copy, just to a different offset.

But not adding to the beginning is the safest assumption.