3 ms·
Re csv2 code: if you look at the benchmark, they really just loop through each cell, without accessing the content: https://github.com/p-ranav/csv2/blob/master/
by liuliu 6y ago
Re csv2 code: if you look at the benchmark, they really just loop through each cell, without accessing the content: https://github.com/p-ranav/csv2/blob/master/benchmark/main.cpp#L30 https://github.com/p-ranav/csv2/blob/master/benchmark/main.c...
Thus, the code triggered in the benchmark path is on: https://github.com/p-ranav/csv2/blob/master/include/csv2/reader.hpp#L181 https://github.com/p-ranav/csv2/blob/master/include/csv2/rea...
and
https://github.com/p-ranav/csv2/blob/master/include/csv2/reader.hpp#L125 https://github.com/p-ranav/csv2/blob/master/include/csv2/rea...
It doesn't access any of the cell content during the benchmark.