mirror of
https://github.com/monero-project/monero.git
synced 2025-05-08 16:04:59 -04:00
rpc: speedup get_outs.bin
This commit is contained in:
parent
b37ce24cdd
commit
fc98f7a0a1
8 changed files with 45 additions and 18 deletions
|
@ -109,6 +109,8 @@ namespace epee
|
|||
constexpr std::size_t size() const noexcept { return len; }
|
||||
constexpr std::size_t size_bytes() const noexcept { return size() * sizeof(value_type); }
|
||||
|
||||
const T &operator[](size_t idx) const { return ptr[idx]; }
|
||||
|
||||
private:
|
||||
T* ptr;
|
||||
std::size_t len;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue