Adam Ierymenko
90e4199b90
Attic this too, though might use it in the future. It's cool but kill your darlings.
2022-06-14 12:02:10 -04:00
Adam Ierymenko
bb701f6e61
Revert just IBLT, remove some cruft, add boxed new function.
2022-04-20 14:10:29 -04:00
Erik Hollensbe
544420695b
refactors and improvements to tests
...
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-18 16:01:47 -07:00
Erik Hollensbe
8dac9ccf07
move to heap allocation
...
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-18 16:01:45 -07:00
Erik Hollensbe
1b2485b277
Leverage type parameters and traits to serialize data
...
This utilizes two traits, AsBytes and FromBytes from the `zerocopy`
crate to enable type parameters on the hashed value.
2022-04-18 16:01:17 -07:00
Erik Hollensbe
7223de6fbb
Fix array size in insert/remove calls
...
makes the library easier to consume, also removes the need for the
length check.
also required to build https://github.com/erikh/isync
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-18 16:00:37 -07:00
Erik Hollensbe
f1439980e3
reduce iblt merge_sets CAPACITY to 4096 so tests pass
...
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-18 14:21:40 -07:00
Adam Ierymenko
d8ea29319a
docs
2022-04-12 15:27:59 -04:00
Adam Ierymenko
d1d44d1d81
Minor fix
2022-04-12 15:09:22 -04:00
Adam Ierymenko
2dd2bb86d9
docs
2022-04-12 14:39:53 -04:00
Adam Ierymenko
725972bb54
Make IBLT take items of any size and make it more general so it can be a good stand alone library.
2022-04-12 14:32:04 -04:00
Adam Ierymenko
536d046e16
Fixes...
2022-04-11 17:13:54 -04:00
Adam Ierymenko
ce75466aff
Merge branch 'master' of github.com:zerotier/tetanus
2022-04-11 16:33:07 -04:00
Erik Hollensbe
65489ee06f
Move iblt routines to a separate library
...
I was hoping to try this out a bit; hope the patch is welcome. I made
the necessary additions to move it, but tried to not jostle around too
much otherwise.
Signed-off-by: Erik Hollensbe <git@hollensbe.org>
2022-04-09 20:05:36 -07:00