trie: implement clone() method (#852)
* Add Clone() for StringMap * Fix for std::string addition * trie: broken return key. * clonetrie: correct handle leakage. Co-authored-by: Kyle Sanderson <[email protected]>
This commit is contained in:
co-authored by
Kyle Sanderson
parent
b8ae4e617b
commit
5fa25e70ad
@@ -48,7 +48,7 @@ enum NodeType
|
||||
* @brief DEPRECATED. This class scales extremely poorly; insertion scales
|
||||
* quadratic (O(n^2)) with respect to the number of elements in the table.
|
||||
* Only use this class if you have less than 200 elements or so. Otherwise,
|
||||
* use StringHashMap in sm_hashtable.h which scales linearly and has comparable
|
||||
* use StringHashMap in sm_stringhashmap.h which scales linearly and has comparable
|
||||
* retrievable performance.
|
||||
*
|
||||
* See bug 5878 for more detail.
|
||||
|
||||
Reference in New Issue
Block a user