From 3e218c494dc6387a30b2df6a3a17c1505e9a2640 Mon Sep 17 00:00:00 2001 From: David Schwartz Date: Fri, 31 Jan 2014 15:19:22 -0800 Subject: [PATCH] Enlarge the humanAccountID cache --- src/ripple_data/protocol/RippleAddress.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ripple_data/protocol/RippleAddress.cpp b/src/ripple_data/protocol/RippleAddress.cpp index 9e4a94114a..5f2fd9d735 100644 --- a/src/ripple_data/protocol/RippleAddress.cpp +++ b/src/ripple_data/protocol/RippleAddress.cpp @@ -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 ();