[fpc-devel] Benchmark for FreePascal

darekM darekm at emadar.com
Mon Dec 12 10:48:57 CET 2005


Marco van de Voort napisaƂ(a):

>>On Sun, 11 Dec 2005, darekM wrote:
>>    
>>
>
>  
>
>>>But why it is in separated unit, nobody know about it (or to few). F.e. 
>>>Lazarus has own implementation of buffering.
>>>      
>>>
>
>Lazarus had to do a long time with FPC 1.0.x _and_ 2.0.x. Not all artefacts of that
>transition are already banned.
>  
>
I know history, Its only example, but this is small proof that no all 
know and use buffering form FPC (even if they need),
FPC should have fastest implementation (it can).

>  
>
>>>If we want to make faster programs, object like my should be in core unit, 
>>>then everybody use them, in other case every make own implementation.
>>>      
>>>
>>Maybe, but then we should put all streams in Classes, and we're not going to
>>do that.
>>    
>>
>
>Rule of thumb: specialised versions not in generically meant units, indeed.
>
>  
>
Readln is not specialized, is rather popular function, buffering version 
can be used in near all programs.


Darek



More information about the fpc-devel mailing list