On Wed, Mar 17, 2004 at 11:58:25AM -0500, Alexander R. Pruss wrote:
> Do you have performance data?  Is rendering slowed down for non-Unicode
> text?

I have no data, but I am using unicode plucker daily, and I do not
perceive any speed difference between original plucker and patched one
(but on the other hand, I have rather fast pda - but on the third
hand, I am using m68 build, not arm, and on the fourth hand, I DO
perceive a noticeable speed difference between palm fonts and gray
fonts, but that is normal).
Anyway, for ASCII characters (<128), the overhead consists of
something like two function calls, three asignments and three if-conditions,
but two function calls to palmos functions are saved 
(TxtGlue(G|S)etNextChar), and I have no idea what they do inside,
but probably some assignments and ifs are there.

On Wed, Mar 17, 2004 at 01:39:39PM -0500, Alexander R. Pruss wrote:
> I'm looking at the patch.  It would be great to have this sort of thing in
> Plucker if it can be made to work.  Two questions/comments:
> 
> 1. I think you should NOT turn off uses8BitChars unless the document
> actually uses Unicode.  In 8-bit mode, searching is much faster (several
> times faster) and rendering is somewhat faster (30% or so).

But how are you going to say in advance that document uses unicode
characters, without parsing it all? One possibility would be to
set uses8BitChars to true, and change it to false when the first unicode
character is encountered - do you think it would not have any negative
effect if it is changed in the middle of reading?


> 2. How are you handling non-consecutive Unicode subsets or large subsets?

Badly - see my other mail about palmfontconv


-- 
 -----------------------------------------------------------
| Radovan Garab�k http://melkor.dnp.fmph.uniba.sk/~garabik/ |
| __..--^^^--..__    garabik @ melkor.dnp.fmph.uniba.sk     |
 -----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!
_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev

Reply via email to