Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Research, Benchmark and Implement k-ary trie types #14

Open
9 tasks
h5law opened this issue Jun 29, 2023 · 0 comments
Open
9 tasks

[Enhancement] Research, Benchmark and Implement k-ary trie types #14

h5law opened this issue Jun 29, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@h5law
Copy link
Collaborator

h5law commented Jun 29, 2023

Objective

The SMT currently is a binary trie. This issue aims to introduce the ability to customise the number of child nodes.

In doing so we will introduce new constants that are the optimum number of child nodes for different underlying databases, and add the ability to set the number of child nodes during the creation of an SMT.

The logic to determine the correct path bit should also be exposed and altered for supporting k number of children.

Origin Document

github comment
Screenshot 2023-06-29 at 11 00 43

Goals

  • Research k-ary trees/tries
  • Add functionality to customise the number of child nodes

Deliverable

  • Create k-ary trie benchmarking suite
  • Add logic supporting k children for an inner node
  • Benchmark different values of k for different databases
  • Expose constants according to the optimal k values found for different databases

Non-goals / Non-deliverables

  • Alter any existing logic outside the scope of supporting k number of children

General issue deliverables

  • Update any relevant README(s)
  • Add or update any relevant or supporting mermaid diagrams

Testing Methodology

  • Task specific tests or benchmarks: go test ...
  • New tests or benchmarks: go test ...
  • All tests: go test -v

Creator: @h5law
Co-Owners: @Olshansk

@h5law h5law self-assigned this Jun 29, 2023
@h5law h5law added the enhancement New feature or request label Jun 29, 2023
@h5law h5law changed the title [Enhancement] Research, Benchmark and Implement k-ary tree types [Enhancement] Research, Benchmark and Implement k-ary trie types Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Backlog
Development

No branches or pull requests

1 participant