Commit Graph
13 Commits
Author SHA1 Message Date
Cameron Cawley f7c2d14587 COMMON: Move all find and replace functions into BaseString 2024-01-08 23:39:22 +01:00
Cameron Cawley 35125f5509 COMMON: Use more standard library functions in String classes 2024-01-08 23:39:22 +01:00
Cameron Cawley 0a4fec83c0 COMMON: Improve removing characters from strings 2024-01-08 23:39:22 +01:00
Cameron Cawley a8183c7734 COMMON: Insert all characters in one go with String::insertString() 2024-01-08 23:39:22 +01:00
Cameron Cawley 4abc229268 COMMON: Unify implementations of String::replace() 2024-01-08 23:39:22 +01:00
Le Philousophe 0edfc8f6dd COMMON: Add append function to BaseString which takes a pointer range
This allows to add efficiently a substring to another
2023-12-24 13:19:25 +01:00
Le Philousophe 11d7381c3f COMMON: Allow inlining of BaseString::makeUnique 2023-12-24 13:19:25 +01:00
elasota e5e9d5c96d COMMON: Performance improvement for toUppercase and toLowercase: Avoid calling makeUnique on strings that aren't modified. 2023-09-20 02:16:25 +02:00
Eugene Sandulenko 3cbb035875 COMMON: Added String::chop() method 2023-09-17 00:56:28 +02:00
elasota 20c91ae391 COMMON: Move string length calculation to a separate function so it's easier to get through string constructors with just Step Over while debugging (vs. Step Out which has a 2-key default keybind in VS and can behave badly with optimizations enabled). 2023-08-28 22:04:26 +02:00
Einar Johan Trøan Sømåen c1eedd42c5 COMMON: Make the Common::String()/U32String() constructor constexpr
This lets us have constexpr structs/classes that contain Common::String
2023-04-29 13:10:23 +02:00
Eugene Sandulenko 514f11654c COMMON: Split assert() for more finetuned crash reporting 2023-03-03 23:19:20 +01:00
Eugene Sandulenko 63f39ca792 COMMON: Rename base-str.* to str-base.* for consistency and file grouping 2023-01-05 14:21:23 +01:00