4 ms·
For n<=8, GCC will also just inline it for the naive version in C: https://godbolt.org/z/TvdcTvEKx https://godbolt.org/z/TvdcTvEKx
by tuveson 2y ago
For n<=8, GCC will also just inline it for the naive version in C: https://godbolt.org/z/TvdcTvEKx https://godbolt.org/z/TvdcTvEKx