lib: micro-optimizations
lib: fix style
lib: be extra strict
update description
benchmarks: remove old code