Skip to content

Commit cf3c9e3

Browse files
authored
Merge pull request yidao620c#217 from kyan001/patch-1
你你的函数实现中 -> 在你的函数实现中
2 parents 80910ac + 82e3790 commit cf3c9e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/c15/p11_use_cython_to_write_high_performance_array_operation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
你可以使用 ``numpy.empty()`` 或 ``numpy.empty_like()`` .
126126
如果你想覆盖数组内容作为结果的话选择这两个会比较快点。
127127

128-
你你的函数实现中,你只需要简单的通过下标运算和数组查找(比如a[i],out[i]等)来编写代码操作数组。
128+
在你的函数实现中,你只需要简单的通过下标运算和数组查找(比如a[i],out[i]等)来编写代码操作数组。
129129
Cython会负责为你生成高效的代码。
130130

131131
``clip()`` 定义之前的两个装饰器可以优化下性能。

0 commit comments

Comments
 (0)