[bisq-network/bisq] Re-ordering Stream APIs (#3921)

HirotoTanaka114 notifications at github.com
Mon Jan 27 23:24:04 UTC 2020


We are conducting a research project on re-ordering Stream APIs for improving program execution speed.

We executed this command before and after re-ordering : 
`time ./gradlew -Dtest.single=PriceTest test`

and the result is :
```
the order of Stream API      test running time
===============================================
distinct().sorted()                 4.614s
sorted().distinct()                 4.472s
```
You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq/pull/3921

-- Commit Summary --

  * re-order distinct and sorted

-- File Changes --

    M core/src/main/java/bisq/core/locale/CurrencyUtil.java (2)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/3921.patch
https://github.com/bisq-network/bisq/pull/3921.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/3921
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200127/3d6d94af/attachment.html>


More information about the bisq-github mailing list