-
-
Notifications
You must be signed in to change notification settings - Fork 27
Use of auto variables #26
Copy link
Copy link
Open
Labels
performanceFixing this issue will increase performanceFixing this issue will increase performance
Metadata
Metadata
Labels
performanceFixing this issue will increase performanceFixing this issue will increase performance
Type
Fields
Give feedbackNo fields configured for issues without a type.
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.