reactphysics3d icon indicating copy to clipboard operation
reactphysics3d copied to clipboard

Optimization opportunity - priori_cast

Open ColinGilbert opened this issue 10 years ago • 0 comments

There is an interesting writeup on a so-called priori cast, a dynamic cast replacement that works very quickly at casting from a base type to a derived typed for when the info is known at compile-time. It seems ideal for creating joints. Drawback is the upcasting is slower, but that isn't a usecase I saw in the examples.

http://www.codeproject.com/Articles/609598/Priori-A-Fast-dynamic-cast-Alternative

http://digitalinblue.github.io/Priori/

http://www.helleboreconsulting.com/index.php/articles/117-priori-a-fast-dynamic-cast-alternative

ColinGilbert avatar Apr 13 '15 19:04 ColinGilbert