https://www.desmos.com/calculator/sysgcinxym I don't know what the exact relation is. There are also cases where it's much faster, eg. if the bounding boxes of the sprites don't intersect. TODO: what if one sprite is tiny/empty? Does the block work the same if the sprites are swapped?