prototype showing ~90x speedup