# Bento

Bento is a new Bencoding library for Elixir focusing on wicked-fast **speed**
without sacrificing **simplicity**, **completeness**, or **correctness**.

It takes inspiration from [Poison](, a
pure-Elixir JSON library, and uses several of the techniques found there:

* Extensive [sub-binary matching](
* A hand-rolled **parser** using several techniques [known to benefit HiPE](
  for native compilation
* [IO list](
* **Single-pass** decoding

Preliminary benchmarking has put Bento's performance as nearly always faster than existing Elixir libraries.

## Installation

Bento is [available in Hex]( The package can be installed by:

  1. Add bento to your list of dependencies in `mix.exs`:

        def deps do
          [{:bento, "~> 0.9.0"}]

  2. Update your dependencies.

        $ mix deps.get

## Usage

TODO: Document usage.

## License