<p></p>
<p><b>@chimp1984</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/bisq-network/bisq/pull/4955#discussion_r543368587">core/src/main/java/bisq/core/locale/CurrencyUtil.java</a>:</p>
<pre style='color:#555'>> @@ -62,6 +62,10 @@ public static void setup() {
 
     private static String baseCurrencyCode = "BTC";
 
+    // Calls to isFiatCurrency and isCryptoCurrency are very frequent so we use a cache of the results
+    private static final Map<String, Boolean> isFiatCurrencyMap = new HashMap<>();
+    private static final Map<String, Boolean> isCryptoCurrencyMap = new HashMap<>();
</pre>
<p>Made a commit with the suggestion</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/pull/4955#discussion_r543368587">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNXWRDM5A2XKR43DI5LSU5UO7ANCNFSM4U32MLCA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNUG76OFNJV2EGXWANDSU5UO7A5CNFSM4U32MLCKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOEDXF3RY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/4955#discussion_r543368587",
"url": "https://github.com/bisq-network/bisq/pull/4955#discussion_r543368587",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>