Add utilities for benchmark (#38).
Experimental implementation. (#38)
Remove unnecessary memset.