Rika Ichinose
|
900b1fc4ec
Check for refcount = 1 first.
|
6 months ago |
Rika Ichinose
|
98a5072fbe
Remove NewAnsiString & NewUnicodeString.
|
6 months ago |
Rika Ichinose
|
f7f8c9a615
Publish System.MemPos.
|
6 months ago |
Rika Ichinose
|
66d7408b3d
Faster Pos(ansistring).
|
6 months ago |
Rika Ichinose
|
6ccad3dc4e
Shortcut declocked on refcount = 1.
|
6 months ago |
Rika Ichinose
|
0b97f169b0
Remove conditionals that rely on not defined(FPC_HAS_CPSTRING).
|
9 months ago |
Rika Ichinose
|
d7352e7b66
Remove most of the VER3_0 conditionals.
|
11 months ago |
Rika Ichinose
|
801e14c33b
Faster Insert(ansi/unicodestring).
|
1 year ago |
florian
|
3180c985ed
* fix naming (no functional change)
|
1 year ago |
Rika Ichinose
|
4c6abb38b1
Non-nil-aware fpc_ansistr_compare(|_equal).
|
1 year ago |
florian
|
e7600ee245
* patch by Rika: Small improvements to (a|u)strings.inc, resolves #40364
|
1 year ago |
Rika Ichinose
|
854d944cfa
Faster string concatenations.
|
1 year ago |
florian
|
ba78551c4f
* patch by Rika: improve fpc_*_concat_multi, resolves #40251
|
1 year ago |
Michael VAN CANNEYT
|
dafe77b954
* string -> shortstring, check zero length instead of comparing to empty string
|
2 years ago |
Michael VAN CANNEYT
|
d2d3fe6bc3
* Char -> AnsiChar
|
2 years ago |
florian
|
84e7a17b67
* patch by Rika: optimize Pos(), resolves #40088
|
2 years ago |
Sergey Larin
|
a8b0e0ed65
Added TranslatePlaceholderCP before Wide2AnsiMoveProc call.
|
3 years ago |
florian
|
a7a689ca16
* fpc_AnsiStr_To_ShortStr: set length before moving, should result in better memory access pattern
|
3 years ago |
florian
|
8e4e229a5f
+ DestSize parameter for fpc_Val_UInt functions
|
3 years ago |
florian
|
ee10850a57
* patch by Sergey Larin: Reducing and aligning the size of TAnsiRec, TUnicodeRec for CPU64, resolves #38018:
|
3 years ago |
florian
|
a5f6505edc
* fix range checking for zero based strings, resolves #39323
|
3 years ago |
nickysn
|
800bb3adc2
* instead of using discardresult, wrap the uniquestring functions in procedures,
|
4 years ago |
florian
|
8b08079224
* fpc_AnsiStr_Concat: if one of the strings is empty and CP_NONE is passed, the code page
|
4 years ago |
yury
|
c3954a0cee
* Fixed r44960. Also copy a trailing implicit #0 of the original string to the new larger string.
|
5 years ago |
yury
|
1e32b96bc2
* Minor improvement. No need to move the terminating null char, since it is written later anyway. Remove a local var.
|
5 years ago |
michael
|
68bb9bef2c
* Optimize fpc_AnsiStr_Compare to not use exception frame unless codepages differ
|
8 years ago |
michael
|
2714a06e77
* Small optimization for comparing nil strings.
|
8 years ago |
michael
|
ae6b9652fc
* Avoid exception frame in ansistring compare for cases where codepage is equal
|
8 years ago |
svenbarth
|
a2c9c75e97
Convert Insert() and Delete() to intrinsics in preparation for dynamic array support for these two procedures.
|
9 years ago |
michael
|
1bdae1edc8
* Correct comments about sizes/offsets in invisible string header record
|
9 years ago |