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 buffer_size = sanisizer::cap<std::size_t>(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.

◆ buffer_size

std::size_t eminem::ParserOptions::buffer_size = sanisizer::cap<std::size_t>(65536)

Size of the buffer in which to store bytes extracted from the byteme::Reader prior to parsing. This is also used as the approximate size of the block to be processed by each thread, rounded up to the nearest newline before parallel processing.


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