Closed arj03 closed 2 years ago
I have been working on cleaning up BIPF to make it easier for other people to implement as its now used in [buttwoo]. The easiest way to review this is by commit. I tried to not change very much other than splitting things up and minor cleanups (const, let, consistent naming).
Much appreciated the commit-by-commit approach. Great refactor!
Splitting things out inside separate files. Seems like encode + decode is around 2*100 + a bit. Not too bad :)
Also did a tiny var => const refactor while I was at it.
I have tested this doing full queries on an empty database and performance is the same as before.