<div dir="ltr">Hi,<div><br></div><div>I was wondering how I could have this PR merged (<a href="https://github.com/numpy/numpy/pull/12065" target="_blank">https://github.com/numpy/numpy/pull/12065</a>)? The discussion on the PR seems to have gone well and all tests pass.</div><div><br></div><div>Cheers,</div><div>Miles</div><br><div class="gmail_quote"><div dir="ltr">On Mon, Oct 1, 2018 at 2:36 PM Miles Cranmer <<a href="mailto:miles.cranmer@gmail.com">miles.cranmer@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">(Not sure what the right list is for this)<br></div><div dir="ltr"><br></div><div dir="ltr">Hi,<br><br>I have started a PR for a "fast_integers" flag for np.isin and np.in1d which greatly increases performance when both arrays are integral. It works by creating a boolean array with elements set to 1 where the parent array (ar2) has elements and 0 otherwise. This array is then indexed by the child array (ar1) to create the output.<br><br><a href="https://github.com/numpy/numpy/pull/12065" target="_blank">https://github.com/numpy/numpy/pull/12065<br></a><br>Thoughts on this? Please let me know if you have any questions about my addition.<br><br>Thank you.<br>Best regards,<br>Miles</div></div></div>
</blockquote></div><div><br></div></div>