Files
wownero/src/crypto
jeffro256andjwinterm 32f0faf2e6 tx_memory_pool: speedup get_complement() for large requests
Changes complexity from M*N to (2*N+M)*log2(M). The FCMP++ stressnet recently hit mempool sizes of ~55k txs.
If the requesting node's mempool is populated, this results in an average of (55000*55000)/2
(about 1.5 billion) comparisons for the responding node. Under this commit, this would be reduced to
(55000+55000)*log2(55000) comparisons (about 2.6 million), a 99.83% reduction.

(cherry picked from commit 0761024b349048ebf79dbfe71caab11826833464)
2026-05-05 18:19:54 -04:00
..
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2018-12-04 15:14:29 +00:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2019-03-05 10:24:24 +00:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2025-09-19 21:01:41 +03:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2023-11-04 21:01:47 +01:00
2014-03-03 22:07:58 +00:00
2022-04-18 10:01:13 +02:00
2018-08-15 18:20:22 +02:00
2014-05-17 15:39:46 -07:00
2018-09-11 14:32:33 +00:00
2014-05-25 13:06:40 -04:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2014-03-03 22:07:58 +00:00
2022-03-04 06:59:20 +01:00
2022-03-04 06:59:20 +01:00
2018-09-09 20:43:01 +02:00