Improve the humanAccountID cache (RIPD-693)

Profiling indicated some performance issues coming from the
cache of 160-bit account IDs to base58 format. This replaces
the single cache with two caches and rotates out old
entries.
This commit is contained in:
David Schwartz
2014-11-18 13:31:14 -08:00
committed by Nik Bougalis
parent 86df482842
commit 1084a39a45
3 changed files with 45 additions and 13 deletions

View File

@@ -852,6 +852,7 @@ public:
mValidations->flush ();
RippleAddress::clearCache ();
stopped ();
}