----- original Nachricht --------

Betreff: Re: RTF - list-item-label encoding (was: RTF and table/column widths 
(moved from fop-users))
Gesendet: Mi 01 Mär 2006 00:45:39 CET
Von: "Andreas L Delmelle"<[EMAIL PROTECTED]>

> On Feb 28, 2006, at 23:17, Andreas L Delmelle wrote:
> 
> > <snip />
> > Is it allowed to use unicode escapes in control words? If so, the  
> > solution could be as simple as using RTFStringConverter to escape  
> > any 'text' if necessary.
> >
> > In practice, my proposal would come down to
> 
> On that note, while browsing through the related sources, found some  
> room for minor optimization in the RtfStringConverter itself. If this  
> deals with many and/or large portions of text: see below.
> 
> If no one objects...
> 
You changed the Writer.write to StringBuffer operations. I'd say that appending 
to a StringBuffer is much slower than writing directly to a 
BufferedOutputStream. There was a comparison between static concatenation, 
concatenation of Strings (variables) during runtime and appending characters to 
a StringBuffer. I don't remember the factor, but it was significant. Afterall 
RTF-export is not time critic and runs smooth and maybe the usage of 
StringBuffer.append is encouraged (due to incredible speed up in newer 
SDKs...whatever)...any comments?



Ihr Traumpartner ist nur einen Klick entfernt. 1 Million Singles warten auf Sie 
in
Deutschlands beliebtester Partnerboerse:
http://singles.freenet.de/index.html?pid=11512

Reply via email to