e:  balanced tree](http://bucklescript.github.io/bucklescript-playground/#Balanced_tree)


---

## Balanced tree with 2 million keys insertion and deletion

Execution Time (node v7.2.0, BuckleScript + Google Closure, jsoo minify):

- OCAMLOPT (-g): 0.837s
- BuckleScript: 2.219s
- JSOO: 3.035s
- OCAMLC (-g): 6.545s
- Using Facebook ImmutableJS lib: 13.520s

JS output size:
- BuckleScript: 542 bytes
- JSOO: 3836 bytes



===

## A brief look at FFI (Call OCaml from JS)

- `.mli` is respected
- Basic data type