Comment by Vaushite

8 hours ago

is it faster because it doesn't have much optimization? Most of the slowness of C++ compilers is an extensive search for optimisation opportunities.

It compiles about 7x faster both at -O0 and -O3. My optimization is not quite on par but it is really close. Compiled code is about 5% slower.