Python 的 List 更接近 C++ 的 vector,deque 还是 list ?

WBOY
Release: 2016-06-06 16:23:44
Original
2066 people have browsed it

回复内容:

谢不邀。

vector。

CPython的源码里写着呢:
Python 的 List 更接近 C++ 的 vector,deque 还是 list ?cpython/listobject.h · python/cpython · GitHub vector Python list implementation
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!