Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Traits for Lookup Tables #131

@lopeetall

Description

@lopeetall

Currently we have a long and complicated src/lookup/lookup_table.rs with a lot of repeated code which generates lookup tables for add, mul, and xor. As suggested here by @CPerezz we should make a trait for lookup tables and have add, mul etc implement the trait. This can also address this comment from @bhgomes, as each lookup table can implement its own lookup function that knows which columns are to be considered "outputs", if any.

Metadata

Metadata

Labels

D-easyDifficulty: easyP-lowPriority: lowT-refactorType: cleanup/refactor

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions