summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kconfiglib.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index 34ec169..d55d020 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -360,7 +360,11 @@ class Config():
f.write(_comment(header))
f.write("\n")
- # Write configuration
+ # Write configuration.
+ # (You'd think passing a list around to all the nodes and appending
+ # to it to avoid copying would be faster, but it's actually a lot
+ # slower with PyPy, and about as fast with Python. Passing the file
+ # around is slower too.)
f.write("\n".join(self.top_block._make_conf()))
f.write("\n")