|
Vince's CSV Parser
|
A class used for efficiently storing RawCSVField objects and expanding as necessary. More...
#include <raw_csv_data.hpp>
Public Member Functions | |
| CSVFieldList (size_t single_buffer_capacity=(size_t)(internals::PAGE_SIZE/sizeof(RawCSVField))) | |
| Construct a CSVFieldList which allocates blocks of a certain size. | |
| CSVFieldList (const CSVFieldList &other)=delete | |
| CSVFieldList (CSVFieldList &&other) | |
| template<class... Args> | |
| void | emplace_back (Args &&... args) |
| size_t | size () const noexcept |
| RawCSVField & | operator[] (size_t n) const |
A class used for efficiently storing RawCSVField objects and expanding as necessary.
Standard std::deque uses smaller, implementation-defined chunks which increases pointer indirection and reduces cache efficiency for CSV parsing workloads.
Definition at line 63 of file raw_csv_data.hpp.
|
inline |
Construct a CSVFieldList which allocates blocks of a certain size.
Definition at line 66 of file raw_csv_data.hpp.
|
inline |
Definition at line 79 of file raw_csv_data.hpp.
Definition at line 104 of file raw_csv_data.hpp.
| RawCSVField & csv::internals::CSVFieldList::operator[] | ( | size_t | n | ) | const |
Definition at line 11 of file raw_csv_data.cpp.
|
inlinenoexcept |
Definition at line 114 of file raw_csv_data.hpp.