-
Notifications
You must be signed in to change notification settings - Fork 1
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
ADR-040 performance issue leads #21
Comments
Roy has made these changes and more here: vulcanize/smt#5 As seen the new flame charts he has produced, most the time is now being spent hashing so a new line of consideration should be to investigate using faster hash functions. |
Another thing to consider is to introduce the concept of an intermediate node to the SMT, analogous to how the MMPT modified the normal patricia trie. |
Upstreamed SMT updates: celestiaorg/smt#73 |
Benchmarks: cosmos#11444 (comment) |
The main task that was remaining was to test in a meaningful environment, e.g. #26 |
IAVL vs SMT
Optimizations relative to IAVL:
The other optimization work is to optimize the SMT implementation, brining it up to speed with IAVL:
Concrete tasks:
At the implementation level, look into:
hash(key) => value
mapping and rely on B1 bucket at SDK layerRelated hackmd: https://hackmd.io/pESkHH3aQhugMLpGH2pBzw
The text was updated successfully, but these errors were encountered: