Re: Re[2]: [fpc-devel] Re: dominant short strings in compiler source

2006-05-19 Thread Daniël Mantione
Op Fri, 19 May 2006, schreef Flávio Etrusco: > > Free Pascal is Delphi compatible. > > I know that FPC aims to be Delphi-compatible, but it's not always the > case, as e.g. the WideStrings were reference-counted until a couple of > months ago. > So you are saying that in this is specific case F

Re: Re[2]: [fpc-devel] Re: dominant short strings in compiler source

2006-05-19 Thread Flávio Etrusco
On 5/19/06, Daniël Mantione <[EMAIL PROTECTED]> wrote: Op Thu, 18 May 2006, schreef Flávio Etrusco: > > L> Dynamic arrays can be very handy and I never knew anyone who avoids > > L> them. Of course if your array has fixed length there's no reason > > L> to use a dynamic array either. > > L> Fo

Re: Re[2]: [fpc-devel] Re: dominant short strings in compiler source

2006-05-19 Thread Daniël Mantione
Op Thu, 18 May 2006, schreef Flávio Etrusco: > > L> Dynamic arrays can be very handy and I never knew anyone who avoids > > L> them. Of course if your array has fixed length there's no reason > > L> to use a dynamic array either. > > L> Fortunately it's no very often that one falls in Borland's

Re: Re[2]: [fpc-devel] Re: dominant short strings in compiler source

2006-05-18 Thread Flávio Etrusco
On 5/18/06, Пётр Косаревский с mail.ru <[EMAIL PROTECTED]> wrote: L> Can someone tell me how slow/fast a dynamic array is compared to a fixed one? Say you used L> a dynamic array of chars or dynamic array of shortstrings - would the dynamic array be L> slow on a general basis? Maybe we will hav

Re: Re[2]: [fpc-devel] Re: dominant short strings in compiler source

2006-05-18 Thread Felipe Monteiro de Carvalho
But it's only a matter of time: probably Windows will become totally utf16 (not really unicode, but at least utf16) really soon (at least in newer versions in a way incompatible with current ones). A small correction, utf16 is a type of unicode. thanks, -- Felipe Monteiro de Carvalho __

Re[2]: [fpc-devel] Re: dominant short strings in compiler source

2006-05-18 Thread ϸ�� ����������� � mail.ru
L> Can someone tell me how slow/fast a dynamic array is compared to a fixed one? Say you used L> a dynamic array of chars or dynamic array of shortstrings - would the dynamic array be L> slow on a general basis? Maybe we will have to resort to benchmarks using the cpu timer. L> And then there is