Browse
Login Sign Up

UFastaStrUnicode library

Share & earn cash

This is a SIMD accelerated library written in Free Pascal for processing UTF-16 encoded 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:
1. AnyOf (Return amount of sequential chars in a row that belong to aSet);
2. DecLength (Return number of decimal characters given integer will take, include sign);
3. DecLengthInt64 (See DecLength);
4. IndexOf (Return index (zero based) of C in set, -1 if not found);
5. IntToStr (Convert integer to string);
6. Lower (Make Count chars of given string lowercase);
7. MaskRange8 (Return mask of characters that are in given range, 2 bits for each character, proceed 8 characters of given string);
8. MaskRange8F (Return mask of characters that are >Low value and <=High value of given range, 2 bits for each character. Proceed 8 characters of given string);
9. MaskSet (Return bitmask of chars that are belong to a given set. Count must be in range 1..32);
10. Pos (Various overloads of this function search for one (C), two (CC) or four (CCCC) chars in string);
11. PosAny2 (Search for any character from pair CC in string);
12. PosAny3 (Search for any character from set CCC in string);
13. PosU (Unlimited versions of Pos function. Check no zero chars, no range);
14. PrepareRange (Fill range accodingly to given aLo and aHi);
15. PrepareSet (Take Count chars from string (or a whole string) and fill given set with it);
16. Size (Return an actual size of given set. Or return an amount of same chars when input parameter is a string);
17. StrToInt (Convert string to LongInt);
18. StrToInt64 (Convert string to Int64);
19. StrToQWord (Convert string to QWord);
20. Upper (Make Count chars of given string upcase);
 
How to use:
· Put uFastaStrUnicode.pas into folder with your project;
· Add uFastaStrUnicode.pas to uses;
· Done.
 
My contacts:
· [email protected]
· Telegram @edkachalov
 
 

License type: "1 paid end product". Read more.
By Edkachalov423
Pascal Freepascal Simd Strings
Reviews
Nobody has rated this offer yet.
PARTICIPATE
  • Buy
  • Offer
  • Share
LEARN
  • About
  • Blog
  • FAQ
CONNECT
  • Twitter
  • Facebook
  • Contact
LEGAL
  • Terms
  • Privacy
  • © 2026 Sellcodes
Log in to your Sellcodes account
Forgot your password?
Looking to create an account?
Sign up for Sellcodes
By creating an account you agree to our Terms Of Use and Privacy Policy
Did you mean to Login?