Skip to content

Commit eacc354

Browse files
author
y-p
committed
DOC: be more vague in enhancingperf.rst GH6013
1 parent e97e2be commit eacc354

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

doc/source/enhancingperf.rst

+4-2
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ the rows, applying our ``integrate_f_typed``, and putting this in the zeros arra
233233
234234
%timeit apply_integrate_f(df['a'].values, df['b'].values, df['N'].values)
235235
236-
We've gone another three times faster! Let's check again where the time is spent:
236+
We've gotten another big improvement. Let's check again where the time is spent:
237237

238238
.. ipython:: python
239239
@@ -282,7 +282,9 @@ advanced cython techniques:
282282
283283
%timeit apply_integrate_f_wrap(df['a'].values, df['b'].values, df['N'].values)
284284
285-
This shaves another third off!
285+
Even faster, with the caveat that a bug in our cython code (an off-by-one error,
286+
for example) might cause a segfault because memory access isn't checked.
287+
286288

287289
Further topics
288290
~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)