Python论坛  - 讨论区

标题:[python-chinese] How do you differ two concepts between deque(double-ends) and list(standard)?

2007年03月05日 星期一 14:29

Black Sands ( Li Ying Min ) fred.li.1979.m.bj.prc在gmail.com
星期一 三月 5 14:29:54 HKT 2007

Why does it use the deque as the elementary container in class Queue?
Any advantages it can be got by using the deque nor the standard list?
-------------- 下一部分 --------------
一个HTML附件被移除...
URL: http://python.cn/pipermail/python-chinese/attachments/20070305/52afe512/attachment.htm 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年03月05日 星期一 15:57

wentrue guozhuwen在gmail.com
星期一 三月 5 15:57:39 HKT 2007

µ±²åÈëµÄÔªËرȽ϶àʱ£¬deque±ÈlistÔÚʱ¼äÉÏÓÐÓÅÊÆ£¬ÒòΪdequeÒ»´Î·ÖÅäÁËÒ»Åú¿Õ¼ä£¬ÒÔºó²åÈëÖ»Òª·ÖÅäµÄ¿Õ¼äÓÐÊ£Óà¾Í²»ÐèÒªÖØзÖÅ䣬¶ølistÊÇÒ»¸ö¸öµØ·ÖÅä¿Õ¼ä¡£

2007/3/5, Black Sands ( Li Ying Min ) <fred.li.1979.m.bj.prc在gmail.com>:
>
> Why does it use the deque as the elementary container in class Queue?
> Any advantages it can be got by using the deque nor the standard list?
>
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20070305/bb792c8f/attachment.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号