Florian Klaempfl wrote:
> I think the fpc code is quite usable now:
>
> FPC 2.1.1
> Test 1: 100 ... done in 2.265 sec
> Test 2: 100 ... done in 1.563 sec
> Test 3: 100 ... done in 1.687 sec
>
> D7:
> Test 1: 100 ... done in 2.078 sec
> Test 2: 100 ... done in 2.078 sec
>
I think the fpc code is quite usable now:
FPC 2.1.1
Test 1: 100 ... done in 2.265 sec
Test 2: 100 ... done in 1.563 sec
Test 3: 100 ... done in 1.687 sec
D7:
Test 1: 100 ... done in 2.078 sec
Test 2: 100 ... done in 2.078 sec
Test 3: 100 ... done in 2.312 sec
Can so
> Peter Vreman wrote:
>
(astonishing that ShortStrings are slower than AnsiStrings in this
example
>>>
>>>in delphi).
>>>
>>>Not really. Delphi is silently upcasting your shortstrings to
>>> AnsiStrings
>>>in
>>>the background. You would probably have to recompile the VCL to get
>>> around
Peter Vreman wrote:
>>>(astonishing that ShortStrings are slower than AnsiStrings in this
>>>example
>>
>>in delphi).
>>
>>Not really. Delphi is silently upcasting your shortstrings to AnsiStrings
>>in
>>the background. You would probably have to recompile the VCL to get around
>>this ;-)
>
>
>
Peter Vreman schrieb:
(astonishing that ShortStrings are slower than AnsiStrings in this
example
in delphi).
Not really. Delphi is silently upcasting your shortstrings to AnsiStrings
in
the background. You would probably have to recompile the VCL to get around
this ;-)
I've commi
Florian Klaempfl schrieb:
Adrian Veith wrote:
Hi,
two days ago i posted a comment about my experiences porting our
database server to fpc. yesterday i tried to figure out where the speed
differences between delphi and fpc come from. At the moment i stuck a
little bit, because the results i
Adrian Veith wrote:
> Hi,
>
> two days ago i posted a comment about my experiences porting our
> database server to fpc. yesterday i tried to figure out where the speed
> differences between delphi and fpc come from. At the moment i stuck a
> little bit, because the results i get don't make any s
>
>>(astonishing that ShortStrings are slower than AnsiStrings in this
>> example
> in delphi).
>
> Not really. Delphi is silently upcasting your shortstrings to AnsiStrings
> in
> the background. You would probably have to recompile the VCL to get around
> this ;-)
I've commited a few small fixe
>(astonishing that ShortStrings are slower than AnsiStrings in this example
in delphi).
Not really. Delphi is silently upcasting your shortstrings to AnsiStrings in
the background. You would probably have to recompile the VCL to get around
this ;-)
Hope that helps,
M
_