Open
Description
In a line line this
| return src && src->type() == typeid(T) ? &static_cast<impl<T> *>(src->m_impl.get())->m_obj : nullptr; |
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?
Metadata
Metadata
Assignees
Labels
No labels
Activity
lukasm91 commentedon Sep 2, 2019
We could create an
unsafe_anycastwithout the second check. In combination with #39 probably a good idea.