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
Currently, we convert the list of indices to a set and then back to a list to remove duplicates. This does not scale very well compared to a simple alternative: make a bit mask (each bit marking whether a point is occupied or not) and, as you are scanning out the sphere's, set the needed indices to true. This means there will be no duplicates as each value is restricted to true or false. The overall grid can then be indexed using this mask to make the occupied grid.
The text was updated successfully, but these errors were encountered:
Currently, we convert the list of indices to a set and then back to a list to remove duplicates. This does not scale very well compared to a simple alternative: make a bit mask (each bit marking whether a point is occupied or not) and, as you are scanning out the sphere's, set the needed indices to true. This means there will be no duplicates as each value is restricted to true or false. The overall grid can then be indexed using this mask to make the occupied grid.
The text was updated successfully, but these errors were encountered: