-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
difficulty/mediumenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Milestone
Description
What
Generate static conveniences for trait accessors/mutators, such that the (C++) refcount of the TraitsData is not modified.
Why
C++ purists will balk at wrapping a TraitsData in a short-lived trait view to operate on it, likely necessitating a shared_ptr copy and refcount bump. This is a potentially measurable performance hit in large-volume operations.
E.g. we can add static variants such as getLocationFrom(const TraitsData&), and similarly setLocationTo.
Metadata
Metadata
Assignees
Labels
difficulty/mediumenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Type
Projects
Status
Backlog