diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-03-25 12:17:37 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-09-11 13:37:35 +0000 |
commit | 126196b017cd93ff399212b7315f9053511afb07 (patch) | |
tree | b8fa8d02e317a5e148def021ab0e44750db35688 /src/ringct/multiexp.h | |
parent | aligned: aligned memory alloc/realloc/free (diff) | |
download | monero-126196b017cd93ff399212b7315f9053511afb07.tar.xz |
multiexp: some speedups
- use a raw memory block to store cache
- use aligned memory
- use doubling API where appropriate
- calculate straus in bands
Diffstat (limited to 'src/ringct/multiexp.h')
-rw-r--r-- | src/ringct/multiexp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ringct/multiexp.h b/src/ringct/multiexp.h index 44998e2e0..c08c70858 100644 --- a/src/ringct/multiexp.h +++ b/src/ringct/multiexp.h @@ -59,7 +59,7 @@ rct::key bos_coster_heap_conv(std::vector<MultiexpData> data); rct::key bos_coster_heap_conv_robust(std::vector<MultiexpData> data); std::shared_ptr<straus_cached_data> straus_init_cache(const std::vector<MultiexpData> &data); size_t straus_get_cache_size(const std::shared_ptr<straus_cached_data> &cache); -rct::key straus(const std::vector<MultiexpData> &data, const std::shared_ptr<straus_cached_data> &cache = NULL); +rct::key straus(const std::vector<MultiexpData> &data, const std::shared_ptr<straus_cached_data> &cache = NULL, size_t STEP = 0); } |