* build: add clang-tidy check modernize-pass-by-value * build: add clang-tidy check modernize-loop-convert * refactor: constexpr * refactor: make preallocGuess a std::array