Pipeline library for doing high throughput computation on a single data type