[xml] xmlBuffer* vs. xmlStr*



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]