Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Cartesian vs. Sparse Merkle Trees – faster treap-based design in Go (rafaelescrich.medium.com)
2 points by rafaelescrich 21 days ago | hide | past | favorite
I built a treap-style "Cartesian Merkle Tree" (CMT) in Go and benchmarked it against a classic Sparse Merkle Tree (SMT). Key results: * SHA-256: CMT ~40 % faster gets, ~30 % faster removes * SHA3-256: CMT ~67 % faster gets, ~47 % faster removes * Thread-safe, SHA-256/SHA3-256, full tests & bench suite Source + benches: https://github.com/rafaelescrich/cartesian-sparse-merkle-tre... Feedback welcome!



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: