[fpc-pascal] Growing dynamic arrays performance (another thing)

2008-07-21 Thread L
> Is there a canonical way to reserve memory for a dynamic array? > > When there are several slowly growing dynamical arrays I encountered > severe > performance drop (probably, they tried to overlap each other many > times). > > Setting estimated length and navigating with extra counter inside ea

Re: [fpc-pascal] Getting fast output

2008-07-21 Thread leledumbo
Peter Vreman wrote: > > http://www.freepascal.org/docs-html/rtl/system/settextbuf.html > http://www.freepascal.org/docs-html/rtl/system/settextbuf.html > Oh, yeah! I forgot to mention this. But declaring the buffer will eat spaces ,for instance: ... var Buf: array [0..65535] of Byte; ... wi

Re: [fpc-pascal] Object Pascal & arm-linux

2008-07-21 Thread Florian Klaempfl
Koenraad Lelong schrieb: Florian Klaempfl schreef: Koenraad Lelong schrieb: Florian Klaempfl schreef: Koenraad Lelong schrieb: Hi, I successfully ran some MSE-gui test-programs on my arm-board. To do this I used a patched fpc 2.2.0-fixes. The patch involved backporting a fix from fpc-2.3.1 fo

Re: [fpc-pascal] Object Pascal & arm-linux

2008-07-21 Thread Koenraad Lelong
Florian Klaempfl schreef: > Koenraad Lelong schrieb: >> Florian Klaempfl schreef: >>> Koenraad Lelong schrieb: Hi, I successfully ran some MSE-gui test-programs on my arm-board. To do this I used a patched fpc 2.2.0-fixes. The patch involved backporting a fix from fpc-2.3.1 for

[fpc-pascal] Delphi Tiburón approach to handle different stri ng encodings

2008-07-21 Thread Luiz Americo Pereira Camara
In the recent discussion about fpc unicode support one of the doubts was the Delphi approach to convert encodings. Maybe this article can help. http://blogs.codegear.com/abauer/2008/07/16/38864/ Luiz ___ fpc-pascal maillist - fpc-pascal@lists.freepa

Re: [fpc-pascal] FPC + Indy

2008-07-21 Thread Cesar Romero
Hi Burkhard, Am Freitag, 18. Juli 2008 18:04 schrieb Cesar Romero: I wrote a appserver with fpc +Indy, all works just fine in OpenSuse 11, but when I install in a Fedora box (I tried Fedora 7, 8 and 9) it just dont run and raises the exception: An unhandled exception occurred at $08159DC9 :

Re: [fpc-pascal] Getting fast output

2008-07-21 Thread Tomas Hajny
On Mon, July 21, 2008 07:17, leledumbo wrote: > > Is there any way so that Write(Ln) doesn't flush the buffer after each > call > (as if it's called to write to a file, I knew it from rtl's file handling > source), but only when Flush is called? I found some maniac's code that > does > it at assemb

Re: [fpc-pascal] FPC + Indy

2008-07-21 Thread Burkhard Carstens
Am Freitag, 18. Juli 2008 18:04 schrieb Cesar Romero: > I wrote a appserver with fpc +Indy, all works just fine in OpenSuse > 11, but when I install in a Fedora box (I tried Fedora 7, 8 and 9) it > just dont run and raises the exception: > > An unhandled exception occurred at $08159DC9 : EIdCouldNo