You are here: Home > Fastcode project > CompareText Challenge

The Fastcode Project

CompareText Challenge

The objective is to build the fastest replacement for RTL CompareText.

Rules

The function must handle AnsiStrings and ShortStrings, not WideString.

Validation and Benchmark Tool:
Tables of results

Target Function Author Speed up over RTL
P4 Prescott CompareTextShaAsm3 Aleksandr Sharahov 2,86
P4 Northwood CompareTextShaAsm4 Aleksandr Sharahov 2,97
Pentium M Dothan CompareTextShaAsm3 Aleksandr Sharahov 2,94
Pentium M Banias CompareTextShaAsm4 Aleksandr Sharahov 2,78
AMD64 CompareTextShaAsm3 Aleksandr Sharahov 1,78
Athlon XP CompareTextShaAsm3 Aleksandr Sharahov 1,72
Blended CompareTextShaAsm3 Aleksandr Sharahov 2,52
RTL Replacement CompareTextShaAsm3 Aleksandr Sharahov 2,52
Pascal CompareTextShaPas5 Aleksandr Sharahov 2,13