Skip to content

feat: add cuckoo filter

Codecov / codecov/patch succeeded Apr 29, 2024 in 0s

79.96% of diff hit (target 93.57%)

View this Pull Request on Codecov

79.96% of diff hit (target 93.57%)

Annotations

Check warning on line 14 in packages/utils/src/filters/bucket.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/utils/src/filters/bucket.ts#L13-L14

Added lines #L13 - L14 were not covered by tests

Check warning on line 24 in packages/utils/src/filters/bucket.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/utils/src/filters/bucket.ts#L23-L24

Added lines #L23 - L24 were not covered by tests

Check warning on line 46 in packages/utils/src/filters/bucket.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/utils/src/filters/bucket.ts#L37-L46

Added lines #L37 - L46 were not covered by tests

Check warning on line 63 in packages/utils/src/filters/bucket.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/utils/src/filters/bucket.ts#L49-L63

Added lines #L49 - L63 were not covered by tests

Check warning on line 59 in packages/utils/src/filters/cuckoo-filter.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/utils/src/filters/cuckoo-filter.ts#L58-L59

Added lines #L58 - L59 were not covered by tests

Check warning on line 108 in packages/utils/src/filters/cuckoo-filter.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/utils/src/filters/cuckoo-filter.ts#L77-L108

Added lines #L77 - L108 were not covered by tests

Check warning on line 113 in packages/utils/src/filters/cuckoo-filter.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/utils/src/filters/cuckoo-filter.ts#L112-L113

Added lines #L112 - L113 were not covered by tests

Check warning on line 150 in packages/utils/src/filters/cuckoo-filter.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/utils/src/filters/cuckoo-filter.ts#L129-L150

Added lines #L129 - L150 were not covered by tests

Check warning on line 168 in packages/utils/src/filters/cuckoo-filter.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/utils/src/filters/cuckoo-filter.ts#L167-L168

Added lines #L167 - L168 were not covered by tests

Check warning on line 175 in packages/utils/src/filters/cuckoo-filter.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/utils/src/filters/cuckoo-filter.ts#L173-L175

Added lines #L173 - L175 were not covered by tests

Check warning on line 15 in packages/utils/src/filters/fingerprint.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/utils/src/filters/fingerprint.ts#L14-L15

Added lines #L14 - L15 were not covered by tests

Check warning on line 26 in packages/utils/src/filters/fingerprint.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/utils/src/filters/fingerprint.ts#L25-L26

Added lines #L25 - L26 were not covered by tests

Check warning on line 44 in packages/utils/src/filters/scalable-cuckoo-filter.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/utils/src/filters/scalable-cuckoo-filter.ts#L43-L44

Added lines #L43 - L44 were not covered by tests

Check warning on line 74 in packages/utils/src/filters/scalable-cuckoo-filter.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/utils/src/filters/scalable-cuckoo-filter.ts#L73-L74

Added lines #L73 - L74 were not covered by tests

Check warning on line 97 in packages/utils/src/filters/scalable-cuckoo-filter.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/utils/src/filters/scalable-cuckoo-filter.ts#L86-L97

Added lines #L86 - L97 were not covered by tests

Check warning on line 32 in packages/utils/test/filter/cuckoo-filter.spec.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/utils/test/filter/cuckoo-filter.spec.ts#L31-L32

Added lines #L31 - L32 were not covered by tests

Check warning on line 39 in packages/utils/test/filter/cuckoo-filter.spec.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/utils/test/filter/cuckoo-filter.spec.ts#L37-L39

Added lines #L37 - L39 were not covered by tests

Check warning on line 35 in packages/utils/test/filter/scalable-cuckoo-filter.spec.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/utils/test/filter/scalable-cuckoo-filter.spec.ts#L34-L35

Added lines #L34 - L35 were not covered by tests

Check warning on line 42 in packages/utils/test/filter/scalable-cuckoo-filter.spec.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/utils/test/filter/scalable-cuckoo-filter.spec.ts#L40-L42

Added lines #L40 - L42 were not covered by tests