Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
lookup_into_indexed_by_clk.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cassert>
4
6
7namespace bb::avm2::tracegen {
8
17template <typename LookupSettings> class LookupIntoIndexedByClk : public IndexedLookupTraceBuilder<LookupSettings> {
18 protected:
19 // This is an efficient implementation of indexing into the precomputed table.
21 {
22 return static_cast<uint32_t>(tup[0]);
23 }
24};
25
26} // namespace bb::avm2::tracegen
uint32_t find_in_dst(const std::array< FF, LookupSettings::LOOKUP_TUPLE_SIZE > &tup) const override
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13