diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2015-06-12 22:30:56 +0200 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2015-06-12 22:30:56 +0200 |
| commit | 352d0747da8ccf6d58144641ceeb0070553ef079 (patch) | |
| tree | 8fe7dda8334b4a88e091e2c36efdf67330ae09ab | |
| parent | 2f319b8a713398ae93ca76d7e40b413bc88a7719 (diff) | |
Add note re. __slots__.
| -rw-r--r-- | README.md | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -84,6 +84,11 @@ configurations generated by Kconfiglib with configurations generated by ## Misc. notes ## + * Using [`__slots__`](https://docs.python.org/3.1/reference/datamodel.html#slots) + on classes would speed things up a bit and save memory. (genboardscfg.py went + from 1.6 to 1.4 seconds on my system for example.) It'd remove some flexibility + though. + * Kconfiglib works well with [PyPy](http://pypy.org). It might give a nice speedup over CPython when batch processing a large number of configurations, as well as when running the test suite. |
