@@ -9,7 +9,7 @@ msgstr ""
9
9
"Project-Id-Version : Python 3.10\n "
10
10
"Report-Msgid-Bugs-To : \n "
11
11
"POT-Creation-Date : 2022-07-06 00:17+0000\n "
12
- "PO-Revision-Date : 2022-08-19 21:55 +0800\n "
12
+ "PO-Revision-Date : 2022-08-22 22:22 +0800\n "
13
13
"Last-Translator : Adrian Liaw <adrianliaw2000@gmail.com>\n "
14
14
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
15
15
"tw)\n "
@@ -745,12 +745,15 @@ msgid ""
745
745
"objects, and keeps a pointer to this array and the array's length in a list "
746
746
"head structure."
747
747
msgstr ""
748
+ "CPython 的串列 (lists) 事實上是可變長度的陣列 (array),而不是像 Lisp 語言的鏈"
749
+ "接串列 (linked lists)。實作上,他是一個連續的物件參照 (references) 陣列,並把"
750
+ "指向此陣列的指標 (pointer) 和陣列長度存在串列的標頭結構內。"
748
751
749
752
#: ../../faq/design.rst:429
750
753
msgid ""
751
754
"This makes indexing a list ``a[i]`` an operation whose cost is independent "
752
755
"of the size of the list or the value of the index."
753
- msgstr ""
756
+ msgstr "因此,用索引來找串列特定項 ``a[i]`` 的代價和串列大小或是索引值無關。 "
754
757
755
758
#: ../../faq/design.rst:432
756
759
msgid ""
@@ -759,6 +762,9 @@ msgid ""
759
762
"repeatedly; when the array must be grown, some extra space is allocated so "
760
763
"the next few times don't require an actual resize."
761
764
msgstr ""
765
+ "當新物件被新增或插入時,陣列會被調整大小。為了改善多次加入物件的效率,我們有"
766
+ "用一些巧妙的方法,當陣列必須變大時,會多收集一些額外的空間,接下來幾次新增時"
767
+ "就不需要再調整大小了。"
762
768
763
769
#: ../../faq/design.rst:439
764
770
msgid "How are dictionaries implemented in CPython?"
0 commit comments