From 312257a30dd9d22092abd885653513f38730a918 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 17 Apr 2020 17:24:48 +0200 Subject: [PATCH] Add PyPy section to the README --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 4036ab4..b3025c6 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,19 @@ If you know something that isn't present in the documentation, please let me kno - A [JS World Parser](https://github.com/cokolele/terraria-world-parser/) on GitHub. - A [Background Guide](https://steamcommunity.com/sharedfiles/filedetails/?id=841032800) on Steam that displays all possible world backgrounds. +## PyPy + +`lihzahrd` is compatible with [PyPy](https://www.pypy.org), a faster implementation of Python! + +If you think that parsing a world takes too much time, you can use PyPy to reduce the required time by a factor of ~3! + +### Benchmarks + +Time to parse the same large world: + +- CPython took 11.45 s. +- Pypy took 3.57 s! + ## License `lihzahrd` is licensed under the [AGPL 3.0](/LICENSE.txt).