You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just a note that get_neighbours could be optimized in a few places. Currently we seem to generate a number at a time and then perform valid checks and then transform, causing a lot of non-vectorized if checks.
This could be vectorized by generating n numbers, validating them together and then performing the transformation on all elements.
Just a note that
get_neighbours
could be optimized in a few places. Currently we seem to generate a number at a time and then perform valid checks and then transform, causing a lot of non-vectorized if checks.This could be vectorized by generating
n
numbers, validating them together and then performing the transformation on all elements.Just rough pseudo code
The text was updated successfully, but these errors were encountered: