Codeforces / polygon-issue-tracking

polygon-issue-tracking
16 stars 2 forks source link

Add PyPy 2 and 3 to the languages list. #305

Closed kcvajgf closed 5 years ago

kcvajgf commented 5 years ago

Python 2 and 3 is quite slow; it sometimes hits Polygon's CPU limits. PyPy is much faster, even for the same program. It sometimes reaches near C++ speeds.

For tasks with really slow generators, I would still fall back to C++/testlib, but for reasonably-sized problems, it would be nice to be able to use python (via pypy) for a bit more.

For simplicity, uploaded programs could still be autodetected as python 2 or 3, and pypy could be set explicitly if needed. (Although pypy default would also be okay.)

MikeMirzayanov commented 5 years ago

Done