pdf.js already has data stored in array. We can't avoid that. The issue is how we deal with data, because it gets coppied while moving around. I'll run profiler to see the real numbers.