The fast path (the `if` block) will just move the slice forward and not reallocate the ids if we can allocate off the beginning of the `ids` slice. Otherwise, it'll slice somewhere in the middle of the `ids` slice which involves `memmove()`.