Go to file
ledgerwatch 240f7f1212
Patricia tree (binary) as a memory efficient alternative to Aho-Corassick (#97)
* First commit

* Refactor

* Fixes

* Now with fuzz tests

* Add matching

* Fixes for empty key

* Reduce garbage during matching

* Swap state objects

* Find longest matches

* Simplify FindLongestMatches

* Simplify matches

* Switch from pointers to Match

* Use pointer for pt

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-10-06 15:28:56 +01:00
.github/workflows return err on duplicate (#89) 2021-09-22 15:30:34 +07:00
chain Pool: chain config, non-mainnet (#78) 2021-09-18 20:58:20 +07:00
common Pool: chain config, non-mainnet (#78) 2021-09-18 20:58:20 +07:00
direct --txpool.pricelimit support (#96) 2021-10-02 17:34:33 +07:00
etl Pool: cache based on txID (#75) 2021-09-17 09:56:04 +07:00
gointerfaces --txpool.pricelimit support (#96) 2021-10-02 17:34:33 +07:00
interfaces Pool: switch to PendingBaseFee (#90) 2021-09-26 19:47:11 +07:00
kv ,save (#101) 2021-10-06 15:14:58 +07:00
patricia Patricia tree (binary) as a memory efficient alternative to Aho-Corassick (#97) 2021-10-06 15:28:56 +01:00
recsplit Optimise RecSplit (#82) 2021-09-20 17:39:32 +01:00
rlp Pool: rlp fuzzing fixes (#60) 2021-09-07 17:32:13 +07:00
txpool MDBX: Don't block when open db from another process if main process holds long RW tx (#99) 2021-10-05 15:30:06 +07:00
.gitignore .gitignore 2021-07-27 09:54:09 +07:00
.golangci.yml Pool: switch cache to tx.ID(), more metrics (#73) 2021-09-15 20:15:32 +07:00
go.mod --txpool.pricelimit support (#96) 2021-10-02 17:34:33 +07:00
go.sum --txpool.pricelimit support (#96) 2021-10-02 17:34:33 +07:00
LICENSE Initial commit 2021-06-19 10:43:10 +01:00
Makefile --txpool.pricelimit support (#96) 2021-10-02 17:34:33 +07:00
README.md Initial commit 2021-06-19 10:43:10 +01:00
tools.go Initial recsplit (#67) 2021-09-13 18:31:09 +01:00

erigon-lib

Dependencies of Erigon project, rewritten from scratch and licensed under Apache 2.0