Dequeue
定义 Definition
dequeue(动词/名词)主要用于计算机与数据结构语境:
- 动词:将元素从队列(queue)中移出,通常是按先进先出(FIFO)从队首取出。
- 名词:一次“出队”操作。
(另:不要与 deque /dek/(双端队列)混淆,尽管两者相关。)
发音 Pronunciation
/diːˈkjuː/
例句 Examples
I dequeued the first request and started processing it.
我将第一条请求出队并开始处理。
As traffic increased, the server dequeued tasks in batches to keep response times stable.
随着流量增加,服务器按批次将任务出队,以保持响应时间稳定。
词源 Etymology
由前缀 **de-**(表示“移除、去除”)+ queue(“队列”)构成,字面意思就是“从队列中去掉(一个元素)”。该词常见于计算机科学领域,用来描述队列数据结构的基本操作之一(与 enqueue 相对)。
相关词 Related Words
文学与作品举例 Notable Works
- Introduction to Algorithms(Cormen, Leiserson, Rivest, Stein)——在队列与相关数据结构/伪代码讨论中常出现“enqueue/dequeue”。
- The Art of Computer Programming(Donald E. Knuth)——在数据结构与算法分析语境中会涉及队列操作术语。
- Operating System Concepts(Silberschatz, Galvin, Gagne)——在进程调度、就绪队列等章节的描述中常见“dequeue”相关表述。