cpp_bindgen icon indicating copy to clipboard operation
cpp_bindgen copied to clipboard

Overhead too big?

Open mbianco opened this issue 6 years ago • 1 comments

In a line line this

https://github.com/GridTools/cpp_bindgen/blob/d0b4b216f141da90f8534356cccbb59423667e8f/include/cpp_bindgen/common/any_moveable.hpp#L61

it turns out the overhead can be 20x more than a regular function call. Could this be improved for the case of low-latency applications?

mbianco avatar Aug 26 '19 10:08 mbianco

We could create an unsafe_anycast without the second check. In combination with #39 probably a good idea.

lukasm91 avatar Sep 02 '19 13:09 lukasm91