On Jan 25, 2008 6:48 PM, Mattias Gaertner <[EMAIL PROTECTED]> wrote:
> I think this is pretty slow and needs too much memory.
> For example:
> It increases the Dest array in steps of one while allocating one mem
> block for each character.
> Can you explain, what are you trying to achieve? Then we can find a
> better solution.
I am trying to make the method SetWordBlock work for utf-8 (would then
do some check to alternate between current code and new code to work
on ansi too.
If you know any other way to make this work, please suggest. I thougth
a lot about this, but I didn't find any other solution.
My first idea was to generate the position of characters on the fly.
Then it was so slow one could notice synedit calculating it. I even
tryed to buffer to generate positions, which was also too slow.
--
Felipe Monteiro de Carvalho
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives