1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-21 14:53:44 +03:00

small speedup in skipping blanks characters interning the entities strings

* parser.c: small speedup in skipping blanks characters
* entities.c: interning the entities strings
Daniel
This commit is contained in:
Daniel Veillard
2005-01-23 20:15:53 +00:00
parent 4c778d8b96
commit 7da92709c8
3 changed files with 75 additions and 23 deletions

View File

@@ -1389,7 +1389,7 @@ xmlSkipBlankChars(xmlParserCtxtPtr ctxt) {
int cur;
do {
cur = CUR;
while (IS_BLANK(cur)) { /* CHECKED tstblanks.xml */
while (IS_BLANK_CH(cur)) { /* CHECKED tstblanks.xml */
NEXT;
cur = CUR;
res++;