Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/davidje13/kata-bloom-set

My implementation of http://codekata.com/kata/kata05-bloom-filters/
https://github.com/davidje13/kata-bloom-set

Last synced: about 1 month ago
JSON representation

My implementation of http://codekata.com/kata/kata05-bloom-filters/

Awesome Lists containing this project

README

        

# Bloom Set

Implementation of a kata to create a bloom filter for testing membership of a set.

---

The kata specification is here: http://codekata.com/kata/kata05-bloom-filters/

## Testing

```sh
./gradlew test
```

## Running

```sh
./gradlew installDist && ./build/install/bloom/bin/bloom /usr/share/dict/words
```

Once the program is running, enter words to stdin, then press Ctrl+D to stop.

Any words not in the dictionary will be echoed back.

---

or pipe input directly:

```sh
./gradlew installDist
./build/install/bloom/bin/bloom /usr/share/dict/words <<< 'these are good, buut theeese arenot'
```