Correct complexity claim
This commit is contained in:
parent
bfdcf49110
commit
bf09397285
@ -923,7 +923,7 @@ public:
|
|||||||
//! Equal-to operator
|
//! Equal-to operator
|
||||||
/*!
|
/*!
|
||||||
\note If an object contains duplicated named member, comparing equality with any object is always \c false.
|
\note If an object contains duplicated named member, comparing equality with any object is always \c false.
|
||||||
\note Linear time complexity (number of all values in the subtree and total lengths of all strings).
|
\note Complexity is quadratic in Object's member number and linear for the rest (number of all values in the subtree and total lengths of all strings).
|
||||||
*/
|
*/
|
||||||
template <typename SourceAllocator>
|
template <typename SourceAllocator>
|
||||||
bool operator==(const GenericValue<Encoding, SourceAllocator>& rhs) const {
|
bool operator==(const GenericValue<Encoding, SourceAllocator>& rhs) const {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user