Description
DoubleColumnReader::next() takes a portion of time when reading doubles from a tpch-lineitem ORC file.
I can see the loop in readDouble is unrolled. But it still have redundant checks. We can manually unroll it to save some instructions.
Furthermode, in little-endian machines, the layout of the DATA stream of the DOUBLE column matches the memory layout of the output array. We can use std::memcpy to copy the data directly.
Attachments
Attachments
Issue Links
- links to