[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: Revert "* tp/Texinfo/XS/xspara.c (xspara_add_text
From: |
Gavin D. Smith |
Subject: |
branch master updated: Revert "* tp/Texinfo/XS/xspara.c (xspara_add_text):" |
Date: |
Fri, 20 Oct 2023 16:36:41 -0400 |
This is an automated email from the git hooks/post-receive script.
gavin pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 6a9ca6e3e3 Revert "* tp/Texinfo/XS/xspara.c (xspara_add_text):"
6a9ca6e3e3 is described below
commit 6a9ca6e3e3f9ce9d667964e64c5170ff6ff8d047
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Fri Oct 20 21:36:19 2023 +0100
Revert "* tp/Texinfo/XS/xspara.c (xspara_add_text):"
This reverts commit 12b7da7f3b3387870d10575d628646a98876837b.
---
ChangeLog | 7 -------
tp/Texinfo/XS/xspara.c | 3 +--
2 files changed, 1 insertion(+), 9 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index e2f70dc28a..753c714283 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,3 @@
-2023-10-20 Gavin Smith <gavinsmith0123@gmail.com>
-
- * tp/Texinfo/XS/xspara.c (xspara_add_text):
- Operate on several non-space, non-doublewidth
- characters at once. This appears to produce a significant,
- measurable speedup of about 2%.
-
2023-10-20 Gavin Smith <gavinsmith0123@gmail.com>
* tp/Texinfo/XS/xspara.c (xspara_add_text):
diff --git a/tp/Texinfo/XS/xspara.c b/tp/Texinfo/XS/xspara.c
index 2e3f168f8a..58901d12a8 100644
--- a/tp/Texinfo/XS/xspara.c
+++ b/tp/Texinfo/XS/xspara.c
@@ -987,8 +987,7 @@ xspara_add_text (char *text, int len)
/* TODO: test just one character at a time to start. then
we can gradually work on the various blocks of
code to operate on multiple characters. */
- if (type != type_regular
- || next_type != type || next_type == type_finished)
+ if (1 || next_type != type || next_type == type_finished)
break;
q += next_len; len -= next_len;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: Revert "* tp/Texinfo/XS/xspara.c (xspara_add_text):",
Gavin D. Smith <=