[xml] xmlBuffer* vs. xmlStr*
- From: Thomas Broyer <tbroyer ltgt net>
- To: xml gnome org
- Subject: [xml] xmlBuffer* vs. xmlStr*
- Date: Fri, 7 Sep 2001 19:34:47 +0200
Hi all,
When working on the libxslt implementation of EXSLT - Strings, I first used
xmlChar and xmlStr* functions. Then I remembered there was xmlBuffer's and
their xmlBuffer* functions.
Looking at xmlXPathConcatFunction, it uses xmlStrcat.
So here's the question: wouldn't it be a little bit more efficient to use
an xmlBuffer?
Actually, I wonder whether to switch libexslt/strings.c (particularly
str:padding() and str:concat()) to xmlBuffer or not.
Tom.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]