What would be a better implementation for a queue, which has better performance than using stacks?