NUISANCE is hosted by Hepforge, IPPP Durham

Opened 9 months ago

Last modified 7 months ago

#48 new task

Method arguments should take (const) references where possible

Reported by: lp208 Owned by: somebody
Priority: minor Milestone: Tuning paper, vxry
Component: component1 Version:
Keywords: code maintenance Cc:

Description

There are a very large number of needless string copies throughout the codebase that would be gotten rid of by using updating functions and methods to take const string references where possible (almost everywhere).

Probably similarly with any passed vectors/lists, they should be passed as references unless you really mean not to, const where possible.

Change History (2)

comment:1 Changed 8 months ago by patrickstowell

  • Milestone set to milestone2

comment:2 Changed 7 months ago by cwret

  • Milestone changed from milestone2 to Tuning paper, vxry

Milestone renamed

Note: See TracTickets for help on using tickets.