Enlarge the humanAccountID cache

This commit is contained in:
David Schwartz
2014-01-31 15:19:22 -08:00
committed by Vinnie Falco
parent 88bd5b12a4
commit 3e218c494d

View File

@@ -327,7 +327,7 @@ std::string RippleAddress::humanAccountID () const
// here, switch back and forth keep one of them full and clear the
// other on a swap - but always check both maps for cache hits.
//
if (rncMap.size () > 10000)
if (rncMap.size () > 250000)
rncMap.clear ();
return rncMap[vchData] = ToString ();