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 6-9 times faster than standard.
String search gain primarily in 64 bit mode (40% faster with string, 10x faster with ANSIstring).
Features
- Fast StringReplace (both 32 and 64 bit)
- Fast Pos (primarily 64 bit)
License
MIT LicenseFollow Delphi fast Pos & StringReplace
nel_h2
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Rate This Project
Login To Rate This Project
User Reviews
-
working only on windows not android, mobile use unicode not ansi
-
Good idea but : 1/ Not easy to dowload the all project : you need to dowload every file. 2/ Not clear to see the targeted Delphi versions : in D 10.3 I can't use it without crash.Reply from Delphi fast Pos & StringReplace