Skip to content

Use of auto variables #26

@muchip

Description

@muchip

We should (as a general rule) restrict the use of auto variables to primitive types. Apparently, the type inference to const& for complex objects is not used as expected in several places in the code, thus generating a huge overhead due to unecessary temporary object creation.

Metadata

Metadata

Labels

performanceFixing this issue will increase performance

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions