From 31ceb39e5952dc72fb54db58bc6dca8540b5d06b Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sun, 14 Jun 2015 00:35:58 +0200 Subject: Rephrase note re. internals. --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index c606e5f..cab1f8c 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,13 @@ configurations generated by Kconfiglib with configurations generated by ## Misc. notes ## + * Please tell me if you miss some API. It might be possible to extract some useful + information from internal data structures (the expression format is pretty easy + to understand for example), but having an API is obviously cleaner and safer. + + Pull requests are welcome too. Don't worry about getting everything right and adding + test cases -- I could fix things up. I know Kconfig has a lot of tricky corners. + * 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 @@ -93,11 +100,6 @@ configurations generated by Kconfiglib with configurations generated by speedup over CPython when batch processing a large number of configurations, as well as when running the test suite. - * Please tell me if you miss some API instead of digging into internals. The -internal data structures and APIs, and dependency stuff in particular, are -unlikely to be exactly what you want as a user (hence why they're internal :). -Patches are welcome too of course. ;) - * At least two things make it a bit awkward to replicate a 'menuconfig'-like interface in Kconfiglib at the moment. APIs could be added if needed. -- cgit v1.2.3