summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-02-18 13:36:15 -0700
committerEric Blake <ebb9@byu.net>2009-02-18 15:36:03 -0700
commitd8726aac7acd47435ad3e4dedef44d01cd828dc1 (patch)
tree9d48713e84c90ea15df2e12811ae37d53d7e21fa /ChangeLog
parent028f5c5976a35256f5fa3804f33292a75ba56c6e (diff)
downloadm4-d8726aac7acd47435ad3e4dedef44d01cd828dc1.tar.gz
Prefer buffer over byte operations.
* modules/format.c (format): Use memchr for speed. * modules/gnu.c (substitute): Likewise. * m4/macro.c (locate_dollar): Inline into only caller... (process_macro): ...and rearrange for readability. * m4/input.c (consume_buffer): Allow C++ compilation. * doc/m4.texinfo (Changesyntax): Enhance test. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit 45a154e6d70517bf1b837715aae2fe366c9c1116)
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 51fda555..9469fbe8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2009-02-18 Eric Blake <ebb9@byu.net>
+ Prefer buffer over byte operations.
+ * modules/format.c (format): Use memchr for speed.
+ * modules/gnu.c (substitute): Likewise.
+ * m4/macro.c (locate_dollar): Inline into only caller...
+ (process_macro): ...and rearrange for readability.
+ * m4/input.c (consume_buffer): Allow C++ compilation.
+ * doc/m4.texinfo (Changesyntax): Enhance test.
+
Speed up esyscmd with buffer reads.
* modules/gnu.c (esyscmd): Read blocks directly into obstack,
rather than repeatedly reading bytes. Detect read errors.