From e11dc00e9f97a105bf5dfd3cdaebbc7186ab9156 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Mon, 26 Nov 2018 04:44:48 +0100 Subject: Recommend Python 3 Python 3.7 has finally caught up with Python 2.7 performance-wise. --- README.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index caf4708..a7f6318 100644 --- a/README.rst +++ b/README.rst @@ -368,6 +368,10 @@ Other features dependencies. The most advanced things used are probably ``@property`` and ``__slots__``. + A recent Python 3 version is recommended if you have a choice. Python 3.7 + finally has parsing performance on par with Python 2.7 (and Python 3.6 is + just a bit slower). + - **Robust and highly compatible with the standard Kconfig C tools**  The `test suite `_ @@ -388,7 +392,8 @@ Other features script currently runs in about 1.3 seconds on the Linux kernel on a Core i7 2600K (with a warm file cache), including the ``make`` overhead from ``make scriptconfig``. Note that the Linux kernel Kconfigs are absolutely massive - (over 14k symbols for x86) compared to most projects. + (over 14k symbols for x86) compared to most projects, and also have overhead + from running shell commands via the Kconfig preprocessor. Kconfiglib is especially speedy in cases where multiple ``.config`` files need to be processed, because the ``Kconfig`` files will only need to be parsed -- cgit v1.2.3