[fpc-devel] Patch to speed up Uppercase/Lowercase functions
Yury Sidorov
jura at ce.blagovest.com
Sun Jun 12 13:55:54 CEST 2005
> Borland's compiler does register variables better than FPC and can do
> induction variables. This has a large impact on the code generation in
> general.
|>I thought I saw that FPC beat Kylix in several cases in the timings
|>that were posted.
> I saw this too, so what do you mean Daniƫl .. in the -Og cases?
FPC is beating Delphi 5 in my tests:
FPC with -OG3r:
Lowercase2 Time to execute: 00:00:00.828
Lowercase3 Time to execute: 00:00:00.876
Lowercase4 Time to execute: 00:00:00.593
Lowercase41 Time to execute: 00:00:00.547
Lowercase42 Time to execute: 00:00:00.548
Lowercase5 Time to execute: 00:00:00.625
Lowercase6 Time to execute: 00:00:00.641
Delphi 5 with full optimization:
Lowercase2 Time to execute: 00:00:00.859
Lowercase3 Time to execute: 00:00:00.953
Lowercase4 Time to execute: 00:00:00.735
Lowercase41 Time to execute: 00:00:00.671
Lowercase42 Time to execute: 00:00:00.469
Lowercase5 Time to execute: 00:00:00.516
Lowercase6 Time to execute: 00:00:00.640
---
Yury Sidorov, jura at blagovest.com
More information about the fpc-devel
mailing list