# supercache
An cache that its fast - read docs for more info!
## Struct
- Vec of buckets (`Vec<Vec<(K, V)>>`)
- Simple hash in bytes ASCII
- colision manage by separate chaining
## Features
- Search and save by hash
- Collision handling with buckets
- Simple and readable code
## Example
```rs
use supercache::Supercache;
fn main() {
let mut cache = Supercache::new(None);
map.set("cat", 1);
map.set("dog", 2);
println!("{:?}", map.get("dog"));
}
```
## Methods
### new(bucket_size)
Create new table
### set(key, value)
Insert or overwrite an value
### get(key)
Find an value by key.
### delete(key)
Delete an element
### clear()
Clear all buckets