The default number of threads is 4 and the default exploration level is 5, but named constants for those values are missing and the magic numbers are used in several places (in libvroom.cpp and main.cpp).
I propose to add named constants and use them instead.
BTW, the allowed values for exploration level (0..5) do not seem to have any meaning that could be conveyed by an enumeration, do they?
The default number of threads is 4 and the default exploration level is 5, but named constants for those values are missing and the magic numbers are used in several places (in
libvroom.cppandmain.cpp).I propose to add named constants and use them instead.
BTW, the allowed values for exploration level (0..5) do not seem to have any meaning that could be conveyed by an enumeration, do they?