Closed wom-bat closed 4 months ago
Always add to the tail and take from the head of a queue. Also, use pointers to reduce the need for repeated arithmetic rather than rely on the compiler optimiser.
Always add to the tail and take from the head of a queue. Also, use pointers to reduce the need for repeated arithmetic rather than rely on the compiler optimiser.