Use O3 for compile, this cause inline-possible function to
be inlined and greatly improve performance.