3 ms·
Most of it won't be because the C++ constexpr version has the same IO call and runs in <0.1s.
by lucozade 8y ago
Most of it won't be because the C++ constexpr version has the same IO call and runs in <0.1s.
- syockit 8y agoI think that's because even the std::cout call could be precalculated, so no runtime string concatenation and stream magic is involved.