Comment

Comment by silvestrov

It's even slower than java compiler and jit combined! Java has never been know to be fast for command line programs.

My M1 MacBook: 1.716s for min.py AND 0.295s for javac and 0.067s for running the compiled code.

It is a straightforward conversion to java using long for i and r.

parent silvestrov 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton