basic_fields::set optimization:

fix #495
This commit is contained in:
Vinnie Falco
2017-07-20 08:15:26 -07:00
parent f64109d79a
commit 648d1bc789
3 changed files with 45 additions and 11 deletions
+4 -1
View File
@@ -115,7 +115,7 @@ public:
operator()(value_type const& lhs, value_type const& rhs) const
{
return ci_less::operator()(
lhs.name(), rhs.name());
lhs.name_string(), rhs.name_string());
}
};
@@ -633,6 +633,9 @@ private:
void
delete_element(value_type& e);
void
set_element(value_type& e);
void
realloc_string(string_view& dest, string_view s);