summaryrefslogtreecommitdiff
path: root/doc/release/upcoming_changes/12065.performance.rst
blob: 08d1263b94fbffedc77aa2bcbf66bc69bf0b62de (plain)
1
2
3
4
5
6
Faster version of ``np.isin`` and ``np.in1d`` for integer arrays
----------------------------------------------------------------
``np.in1d`` (used by ``np.isin``) can now switch to a faster algorithm
(up to >10x faster) when it is passed two integer arrays.
This is often automatically used, but you can use ``kind="sort"`` or 
``kind="table"`` to force the old or new method, respectively.