Skip to content

Why not updating in-place? #27

Description

@peci1

Is there a good reason for not having function

virtual bool update(T& data)=0;

in FilterBase?

It seems to me it might help getting the filter chain even more efficient.

Regarding backwards compatibility, it'd probably need to have a default implementation that calls the copying update(data_in, data_out), but filters that are capable of working in-place would get the chance to do so.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions