Opened 13 years ago

Closed 13 years ago

#788 closed enhancement (fixed)

FDO: Tune FdoStringP operators.

Reported by: brentrobinson Owned by: brentrobinson
Priority: minor Milestone: 3.7.0
Component: FDO API Version: 3.7.0
Severity: 3 Keywords: FdoStringP operator performance
Cc: External ID:

Description

The FdoStringP comparison operators, that take an FdoStringP parameter, pass this parameter by value. Passing it by reference would be more efficient

Change History (1)

comment:1 by brentrobinson, 13 years ago

Resolution: fixed
Status: newclosed

Revision: 6264 Author: brentrobinson Date: 9:50:46 AM, Thursday, September 22, 2011 Message: Ticket#788: Changed the parameters for all of the FdoStringP comparison operators ( ==, >, <, etc.), that take an FdoStringP parameter, to be by reference. For each operator performed, this eliminates creating and destroying an FdoStringP and changing the refcount of the string buffer.


Modified : /trunk/Fdo/Unmanaged/Inc/Common/StringP.h Modified : /trunk/Fdo/Unmanaged/Src/Common/StringP.cpp

Note: See TracTickets for help on using tickets.