UFastaStrAnsi library
This is a SIMD accelerated library written in Free Pascal for processing ansi strings. Main optimizations is SSE2 based (so this library is supported by most processors) and present one Arm Neon optimization (but there may be added more Neon optimizations in future).
Accelerated architectures:
- Windows x86;
- Windows x64;
- Linux x86;
- Linux x64;
- AArch64 (partly).
Requirments:
- FPC 3.2.2 (older versions may work too) (for AArch64 may be required version 3.3.1)
Short description of functions in this library:
- AnyOf (Return amount of sequential chars in a row that belong to aSet);
- DecLength (How many characters decimal representation will take);
- DecLengthInt64 (See DecLength);
- IndexOf (Return index (zero based) of C in set, -1 if not found);
- IntToStr (Convert integer to string);
- Lower (Make Count chars of given string lowercase);
- MaskRange16 (Return mask of characters that are in given range, proceed 16 characters of given string);
- MaskRange16F (Return mask of characters that are >Low value and <=High value of given range, proceed 16 characters of given string);
- MaskSet (Return bitmask of chars that are belong to a given set. Count must be in range 1..32);
- Pos (Various overloads of this function search for one (C), two (CC) or four (CCCC) chars in string);
- PosAny2 (Search for any character from pair CC in string);
- PosAny3 (Search for any character from set CCC in string);
- PosAny4 (Search for any character from set CCCC in string);
- PosU (Unlimited versions of Pos function. Check no zero chars, no range);
- PrepareRange (Fill range accodingly to given aLo and aHi);
- PrepareSet (Take Count chars from string (or a whole string) and fill given set with it);
- Quantity (Count the number of entries of C in zero terminated string);
- Size (Return an actual size of given set. Or return an amount of same chars when input parameter is a string);
- StrToInt (Convert string to integer);
- StrToInt64 (Convert string to Int64);
- StrToQWord (Convert string to QWord);
- Upper (Make Count chars of given string upcase);
How to use:
- Put uFastaStrAnsi.pas into folder with your project;
- Add uFastaStrAnsi.pas to uses;
- Done.
Documentation:
In folder fasta present documentation for this library. Just open index.html file.
My contacts:
- [email protected]
- Telegram @edkachalov
License type: "1 paid end product".
Read more.
Reviews
Nobody has rated this offer yet.