eminem
Parse Matrix Market files in C++
Loading...
Searching...
No Matches
eminem::ParserOptions Struct Reference

Options for the Parser constructor. More...

#include <Parser.hpp>

Public Attributes

int num_threads = 1
 
std::size_t block_size = 65536
 

Detailed Description

Options for the Parser constructor.

Member Data Documentation

◆ num_threads

int eminem::ParserOptions::num_threads = 1

Number of threads to use for parsing.

◆ block_size

std::size_t eminem::ParserOptions::block_size = 65536

Approximate size of the block (in bytes) to be processed by each thread. This is rounded up to the nearest newline before parallel processing. Only relevant when num_threads > 1.


The documentation for this struct was generated from the following file: