Accelerated method pdoTools::getChunk().