@milkydelta.moemilkydelta @milkydelta.moe
2026-09-13 02:07 UTC
It functions correctly, just not quite intuitively. If the internal array is too small, it grows. Growing or shrinking that array means allocating a new one and copying elements over. That's an expensive operation, so the queue doubles the capacity, to make sure it isn't too frequent.
A reply in a thread.
0 likes, 0 reposts, 1 replies
3 Next post4 More from @milkydelta.moeBackBluesky home