<p>We are conducting a research project on re-ordering Stream APIs for improving program execution speed.</p>
<p>We executed this command before and after re-ordering :<br>
<code>time ./gradlew -Dtest.single=PriceTest test</code></p>
<p>and the result is :</p>
<pre><code>the order of Stream API      test running time
===============================================
distinct().sorted()                 4.614s
sorted().distinct()                 4.472s
</code></pre>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/bisq-network/bisq/pull/3921'>https://github.com/bisq-network/bisq/pull/3921</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>re-order distinct and sorted</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/3921/files#diff-0">core/src/main/java/bisq/core/locale/CurrencyUtil.java</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/bisq-network/bisq/pull/3921.patch'>https://github.com/bisq-network/bisq/pull/3921.patch</a></li>
  <li><a href='https://github.com/bisq-network/bisq/pull/3921.diff'>https://github.com/bisq-network/bisq/pull/3921.diff</a></li>
</ul>

<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/3921?email_source=notifications&email_token=AJFFTNX7DI6LMKNAA6NAMNTQ75UJJA5CNFSM4KMJYFEKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IJCIRTQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNR67UL45MLASBKPO2LQ75UJJANCNFSM4KMJYFEA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNXYAM4AZ2VUEKTH6RLQ75UJJA5CNFSM4KMJYFEKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IJCIRTQ.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/3921?email_source=notifications\u0026email_token=AJFFTNX7DI6LMKNAA6NAMNTQ75UJJA5CNFSM4KMJYFEKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IJCIRTQ",
"url": "https://github.com/bisq-network/bisq/pull/3921?email_source=notifications\u0026email_token=AJFFTNX7DI6LMKNAA6NAMNTQ75UJJA5CNFSM4KMJYFEKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IJCIRTQ",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>