diff --git a/howto/perf_profiling.po b/howto/perf_profiling.po index 014a299da8..acd562a323 100644 --- a/howto/perf_profiling.po +++ b/howto/perf_profiling.po @@ -49,8 +49,8 @@ msgid "" "output of ``perf``." msgstr "" "在 Python 應用程式中使用 ``perf`` 分析器的主要問題是 ``perf`` 僅獲取有關原生" -"符號的資訊,即用 C 編寫的函式和程式的名稱。這表示程式碼中的 Python 函式名" -"稱和檔案名稱不會出現在 ``perf`` 的輸出中。" +"符號的資訊,即用 C 編寫的函式和程式的名稱。這表示程式碼中的 Python 函式名稱和" +"檔案名稱不會出現在 ``perf`` 的輸出中。" #: ../../howto/perf_profiling.rst:22 msgid "" @@ -73,9 +73,9 @@ msgid "" "check the output of ``python -m sysconfig | grep HAVE_PERF_TRAMPOLINE`` to " "see if your system is supported." msgstr "" -"目前對 ``perf`` 分析器的支援僅適用於 Linux 的特定架構上。檢查 " -"``configure`` 建構步驟的輸出或檢查 ``python -m sysconfig | grep " -"HAVE_PERF_TRAMPOLINE`` 的輸出來查看你的系統是否支援。" +"目前對 ``perf`` 分析器的支援僅適用於 Linux 的特定架構上。檢查 ``configure`` " +"建構步驟的輸出或檢查 ``python -m sysconfig | grep HAVE_PERF_TRAMPOLINE`` 的輸" +"出來查看你的系統是否支援。" #: ../../howto/perf_profiling.rst:36 msgid "For example, consider the following script:" @@ -98,9 +98,9 @@ msgid "" "which Python function corresponds to which bytecode-evaluating function." msgstr "" "如你所見,Python 函式未顯示在輸出中,僅顯示 ``_Py_Eval_EvalFrameDefault`` " -"(為 Python 位元組碼 (bytecode) 求值的函式)。不幸的是,這不是很有用,因為所有 " -"Python 函式都使用相同的 C 函式來替位元組碼求值,因此我們無法知道哪個 Python 函" -"式是對應於哪個位元組碼計算函式。" +"(為 Python 位元組碼 (bytecode) 求值的函式)。不幸的是,這不是很有用,因為所" +"有 Python 函式都使用相同的 C 函式來替位元組碼求值,因此我們無法知道哪個 " +"Python 函式是對應於哪個位元組碼計算函式。" #: ../../howto/perf_profiling.rst:105 msgid "" @@ -162,8 +162,8 @@ msgid "" msgstr "" "為了獲得最佳結果,應使用 ``CFLAGS=\"-fno-omit-frame-pointer -mno-omit-leaf-" "frame-pointer\"`` 來進行 Python 編譯,因為這能允許分析器僅使用 frame 指標而不" -"是 DWARF 除錯資訊來解析 (unwind)。這是因為,由於插入以允許 ``perf`` 支援的程式碼是動" -"態生成的,因此它沒有任何可用的 DWARF 除錯資訊。" +"是 DWARF 除錯資訊來解析 (unwind)。這是因為,由於插入以允許 ``perf`` 支援的程" +"式碼是動態生成的,因此它沒有任何可用的 DWARF 除錯資訊。" #: ../../howto/perf_profiling.rst:201 msgid "" @@ -176,5 +176,5 @@ msgid "" "compiled with frame pointers and therefore it may not be able to show Python " "functions in the output of ``perf``." msgstr "" -"如果你沒有看到任何輸出,則表示你的直譯器尚未使用 frame 指標進行編譯,因此它" -"可能無法在 ``perf`` 的輸出中顯示 Python 函式。" +"如果你沒有看到任何輸出,則表示你的直譯器尚未使用 frame 指標進行編譯,因此它可" +"能無法在 ``perf`` 的輸出中顯示 Python 函式。" diff --git a/library/multiprocessing.shared_memory.po b/library/multiprocessing.shared_memory.po index dc53aa765d..8e60398c1b 100644 --- a/library/multiprocessing.shared_memory.po +++ b/library/multiprocessing.shared_memory.po @@ -62,9 +62,9 @@ msgstr "" "確實作),而不是指「分散式共享記憶體 (distributed shared memory)」。這種型別" "的共享記憶體允許不同的行程潛在地讀取和寫入揮發性記憶體 (volatile memory) 的公" "開(或共享)區域。通常行程只能存取自己的行程記憶體空間,但共享記憶體允許在行" -"程之間共享資料,從而避免需要跨行程傳遞資料的情境。與透過硬碟或 " -"socket 或其他需要序列化/還原序列化 (serialization/deserialization) 和複製資料" -"的通訊方式以共享資料相比,直接透過記憶體共享資料可以提供顯著的性能優勢。" +"程之間共享資料,從而避免需要跨行程傳遞資料的情境。與透過硬碟或 socket 或其他" +"需要序列化/還原序列化 (serialization/deserialization) 和複製資料的通訊方式以" +"共享資料相比,直接透過記憶體共享資料可以提供顯著的性能優勢。" #: ../../library/multiprocessing.shared_memory.rst:41 msgid ""