Skip to content

Commit

Permalink
automatic threading yay
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMilkies committed Aug 8, 2022
1 parent 73cace3 commit 6ee877d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

bool parser_exit;

int thread_count = 2;
int thread_count = std::thread::hardware_concurrency() * 2;

inline bool ends_with(std::string const & value, std::string const & ending) //written by tshepang from stackoverflow
{
Expand Down

0 comments on commit 6ee877d

Please sign in to comment.