Skip to content

Overhead too big? #42

Description

@mbianco

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions