diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2018-11-26 04:44:48 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2018-11-26 05:44:52 +0100 |
| commit | e11dc00e9f97a105bf5dfd3cdaebbc7186ab9156 (patch) | |
| tree | 924adfb516278bc367a6da1ebc0358f4b4307e5d | |
| parent | bb7044cb39af5659c082bd74b45734dca64824c5 (diff) | |
Recommend Python 3
Python 3.7 has finally caught up with Python 2.7 performance-wise.
| -rw-r--r-- | README.rst | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 <https://github.com/ulfalizer/Kconfiglib/blob/master/testsuite.py>`_ @@ -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 |
