| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| StrPos functions V2.docx | 2021-06-13 | 8.9 kB | |
| StrPos32.pas | 2021-06-13 | 34.9 kB | |
| StrPos64.pas | 2021-06-13 | 47.5 kB | |
| StrRplace.pas | 2021-06-13 | 14.8 kB | |
| readme.txt | 2021-06-12 | 902 Bytes | |
| Totals: 5 Items | 107.0 kB | 1 |
Fast routines to search and replace in strings (V2, on basis of SSE 4.2)
The units StrPosDefs and StrPos32 and/or StrPos64 contain functions that extend the functionality of system.pos and sysUtils.StringReplace and they may lead to significant performance improvements.
Functionality:
• (repeated) location of substring in a string, (ANSIstring or String) with or without case sensitivity.
• Replacement of a pattern by another pattern in a string or ANSIstring (one or all, with or without case sensitivity)
Platforms:
• 32 and 64 bit windows.
Speed:
• string replacement can be 7-10 times faster than standard.
• String search gain: 2x in 32 bit mode (string); in 64 bit mode 6-7x faster with string, 35x faster with ANSIstring.
Note: the V2 files replace earlier files. StrPosDefs unit can be removed.
the license condition have been changed.