euclider icon indicating copy to clipboard operation
euclider copied to clipboard

`GeneralIntersector` returns a `Box`ed type

Open Limeth opened this issue 7 years ago • 0 comments

GeneralIntersector returns a Boxed type. Since these functions can be called several thousand times per frame, it may be worth considering an alternative that doesn't require heap allocation.

https://github.com/Limeth/euclider/blob/master/src/universe/entity/shape.rs#L35-L40

Limeth avatar Nov 18 '18 23:11 Limeth